Guest User

Untitled

a guest
May 22nd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1.       elif message.find(' :!vx')!=-1:
  2.          pos = message.find('!vx')
  3.          command = message[pos:]
  4.          pos = repr(pos)
  5.          irc.send('PRIVMSG '+channel+' :pos: '+pos+' command: '+command+'\r\n')
  6.          file1 = open('blah.txt', 'r+')
  7.           for lines in file1.readlines():
  8.              if lines.find(command)!=-1:
  9.                 irc.send('PRIVMSG '+channel+' :'+command+'\r\n')
Add Comment
Please, Sign In to add comment