ComputerTech Owner
Posts : 99 Points : 268 Reputation : 0 Join date : 2020-04-30
| Subject: Caesars Dont advertise script 24/5/2020, 15:26 | |
| - Code:
-
bind pubm - "*#*" pub_dont_advertise
proc pub_dont_advertise {nick host handle channel arg} { global botnick set banmask "*!*@[lindex [split $host @] 1]" set bantime "1440" if [botisop $channel] { if {[string match "*#mychan*" $channel]} { return } if {([matchattr $handle m] || [matchattr $handle p] || [matchattr $handle b] || [matchattr $handle n] || [matchattr $handle o])} { return } newchanban $channel $banmask $bantime "Don't advertise!" putserv "KICK $channel $nick :grin:on't advertise!" putserv "MODE $channel +b $banmask" return 1 } }
putlog "Don't advertise .. loaded." | |
|