Advertisement
Thelorgoreng

Fax code

Aug 25th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.56 KB | None | 0 0
  1. if cmd == "fax" or cmd == "Fax":
  2.         try:
  3.           name, body = args.split(" ", 1)
  4.           l = "http://ch.besaba.com/mty.htm?"+room.name+"!"
  5.           if name in self.roomnames :
  6.             self.getRoom(name).message('[<font color="#6699CC"><b>Message</b></font> - %s ] in <a href=\"%s" target=\"_blank\"><u>%s</u></a> : <font color="#66FFFF"><i> %s <i></font>' % (sntonick(user.name), l, room.name, body),True)
  7.             room.message("Sent")
  8.           else:
  9.             room.message("I haven't joined that room")
  10.         except:room.message("error")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement