Guest User

Untitled

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