r00t-err0r

eggdrop-masshl

Aug 20th, 2012
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.45 KB | None | 0 0
  1. bind pub - !prozivka pub_masshl
  2. proc pub_masshl {nick mask hand channel text} {
  3. set nicklist [chanlist $channel]
  4. if {([isop $nick $channel]) || ([ishalfop $nick $channel])} {
  5.     if {$text != ""} {
  6.         putserv "privmsg $channel :\002$nicklist\002"
  7.         putserv "privmsg $channel :\002$text\002 "
  8.     } else { putserv "privmsg $channel :\002$nicklist\002" }
  9. } else { putserv "privmsg $channel :<$nick> Nemate dozvolu da koristite ovu komandu!" }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment