Code: Select all
proc badword {nick uhost hand chan rest} {
global botnick bword
if {([ matchattr $hand f ])} {
# We do nothing here we are waiting for the msg Chanser sets mode:
return 1
} else {
putserv "/mode -b $#staff $nick" #We found it, now time to remove the ban
return 0
}
}