ComputerTech Owner
Posts : 99 Points : 268 Reputation : 0 Join date : 2020-04-30
| Subject: Bot PM kickban 23/5/2020, 00:47 | |
| - Code:
-
bind msgm - "*" msg:bot
proc msg:bot {nick uhost hand text} { if {![matchattr $hand n]} { foreach chan [channels] { if {[botisop $chan] && [onchan $nick $chan]} { putserv "MODE $chan +b *!*@[lindex [split $uhost @] 1]" putserv "KICK $chan $nick :Do not message me in private!" } } } } | |
|