egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

help on my autovoice script

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
Danny^Boy
Guest





PostPosted: Tue Mar 02, 2004 10:42 am    Post subject: help on my autovoice script Reply with quote

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
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber