Advertisement
Guest User

xOP TCL script

a guest
Mar 4th, 2013
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.60 KB | None | 0 0
  1. # IRC network ChanServ's nickname
  2. set chanservnick "ChanServ"
  3.  
  4. #binding events
  5. bind pub mn|mn .aop pub_aop
  6. bind pub mn|mn .sop pub_sop
  7. bind pub mn|mn .hop pub_hop
  8. bind pub mn|mn .vop pub_vop
  9.  
  10. proc pub_aop {nick uhost hand chan text} {
  11.     putserv "PRIVMSG $chanservnick :aop $chan ADD $text"
  12. }
  13.  
  14. proc pub_sop {nick uhost hand chan text} {
  15.     putserv "PRIVMSG $chanservnick :sop $chan ADD $text"
  16. }
  17.  
  18. proc pub_hop {nick uhost hand chan text} {
  19.     putserv "PRIVMSG $chanservnick :hop $chan ADD $text"
  20. }
  21.  
  22. proc pub_vop {nick uhost hand chan text} {
  23.     putserv "PRIVMSG $chanservnick :vop $chan ADD $text"
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement