Advertisement
Aha2Y

Untitled

Dec 27th, 2011
389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1.    if data.find('PRIVMSG '+CHAN +' :') != -1:
  2.       info = data.split()
  3.       text = info[4:]
  4.       foo = "PRIVMSG {chan} :<{nick}> {text}".format(chan = CHAN, nick = nick, text = ''.join(text))     
  5.       irc.send (foo)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement