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 

Voice/devoice again

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
neoclust
Halfop


Joined: 14 Aug 2009
Posts: 55

PostPosted: Thu Aug 19, 2010 4:42 pm    Post subject: Voice/devoice again Reply with quote

Hello I apologize for having published another post on the same subject, I tried voice and devoice at the same time but I realized that this does not work finally to see this code :
Code:
            
   utimer 10 [list cancel_mode $nick $chan $host]
 
 
proc cancel_mode {nick chan host} {
       putfast "MODE $chan +v $nick"
       if {![string match *.users.undernet.org $host]} {       
   putfast "MODE $chan -v $nick"
   }

the bot in this case voice while stopping there, I thought of another way to fit that idea but in vain, you can help me with that because it is me who jammed the pushmode remains unable to apply + v-v at the same time thanks.
Back to top
View user's profile Send private message
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Mon Aug 23, 2010 3:39 pm    Post subject: Reply with quote

I don't really understand your trouble. Why don't voice the user only if his host matches the "authorized" host ?
And using pushmode and flushmode seems better than putfast
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help 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