View previous topic :: View next topic |
Author |
Message |
Danny^Boy Guest
|
Posted: Tue Mar 02, 2004 10:42 am Post subject: help on my autovoice script |
|
|
is it possible to get this to still delete the user if it got +g on the chan the command is done on?
now it will only do -g since the user got +g on the chan
set flags "a OR d OR e OR f OR g OR k OR m OR n OR o OR q or v"
foreach channel [channels] {
if {[matchattr $who |$flags $channel]} {
set flags "-g"
chattr $who |$flags $chan
putserv "NOTICE $nick :\002$who\002 has been deleted from autovoice on $chan."
putserv "MODE $chan -v $who"
save
return 0
}
}
deluser $who
putserv "NOTICE $nick :\002$who\002 has been deleted from autovoice on $chan."
putserv "MODE $chan -v $who"
save
return 1
} |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|