Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- elif message.find(' :!vx')!=-1:
- pos = message.find('!vx')
- command = message[pos:]
- pos = repr(pos)
- irc.send('PRIVMSG '+channel+' :pos: '+pos+' command: '+command+'\r\n')
- file1 = open('blah.txt', 'r+')
- for lines in file1.readlines():
- if lines.find(command)!=-1:
- irc.send('PRIVMSG '+channel+' :'+command+'\r\n')
Add Comment
Please, Sign In to add comment