bind pub n !broadcast pub_do_broadcast
# Broadcasts a message to every channel the bot is on
proc pub_do_broadcast {nick host hand chan text} { ย
ย if {[string length $text] > 0} {
ย ย set text [string trim $text "{}"]
ย ย foreach n [channels] { puthelp "PRIVMSG $n :14(4BROADCAST14): $text" }
ย }
}
ย
putlog "Broadcast v1.0 by Wikked Loaded"
Comments
0 B
|๐
/๐
0 B
|๐
/๐