If guest_user add ban , Bot deop and remove ban
I try with ...
Code: Select all
proc no_manual_add_ban {nick uhost hand chan mode ban} {
if {(![matchattr $hand b]) && (![matchattr $hand n])} {
pushmode $chan -o $nick
putlog "Manual ban on $chan - Ban : $ban"
pushmode $chan -b $ban
}
}
GUEST_user sets mode: +b *!test@test
BOT sets mode: -o GUEST_user
In Partyline :
Manual ban on #testchan - Ban : *!test@test
Bot dont remove ban ... where is the error ?
tnx