Guest User

Untitled

a guest
Oct 13th, 2013
712
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. import ch
  2. class bot(ch.RoomManager):
  3.     def onPMMessage(self, pm, user, body):
  4.     wlist,ulist,msg=[""],[],""
  5.     print(user.name.title()+": "+body)
  6.     if len(list((word for word in wlist if word in body.lower()))) > 0 or user.name in ulist: pm.message(user,msg)
  7. bot.easy_start([""],"USERNAME","PASSWORD")
Advertisement
Add Comment
Please, Sign In to add comment