Code: Select all
bind pubm - "*" check:advertise
proc check:advertise {nick uhost hand chan text} {
if {![isbotnick $nick] && [string match "*#*" $text] && [string equal -nocase "#scrim" $chan] && ![isop $nick $chan]} {
putquick "PRIVMSG chanserv :$chan tb $nick 1h Advertising is prohibited in $chan! Please refer to the GameSurge AUP: www.gamesurge.net/aup (Rule 3 - 1 Hour Ban)"
}
}
putlog "Scrim Adv Loaded"What would I add in that so it doesn't ban voiced users either?
&& ![isvoice $nick $chan]
?
thanks.