Advertisement
Wikked

Eggdrop Broadcast

Nov 21st, 2014
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.35 KB | None | 0 0
  1. bind pub n !broadcast pub_do_broadcast
  2. # Broadcasts a message to every channel the bot is on
  3. proc pub_do_broadcast {nick host hand chan text} {  
  4.   if {[string length $text] > 0} {
  5.     set text [string trim $text "{}"]
  6.     foreach n [channels] { puthelp "PRIVMSG $n :14(4BROADCAST14): $text" }
  7.   }
  8. }
  9.  
  10. putlog "Broadcast v1.0 by Wikked Loaded"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement