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 

different channels - different settings? [possible solution]

 
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
satmd
Guest





PostPosted: Sun Aug 10, 2003 8:28 am    Post subject: different channels - different settings? [possible solution] Reply with quote

Hi.
I overthought some settings in netset.tcl and I see a way to make some of the settings really usable for multiple channels.
This way involves using setudef and channel get.

By now we have this innetset.tcl:
...
# repeat.tcl settings
set nb_component(repeat) 1
set rp_chans "#drawn-reality"
...
and some logic in repeat.tcl as well of course

My suggestion is to remove rp_chans and rp_echans completely and instead using this:
setudef flag "slennox-repeat" #or whatever you want to call it
(probably at the end of netset.tcl)

then... one could check [channel get #channel "slennox-repeat"] == 1 in order to see wether to apply repeat flood protections to #channel or not. This way would allow changing settings during run-time and having per-channel-settings without too much work.

You can use this setudef/channel get stuff not only for repeat flood protection but as well for sentinel as well e.g.

EDIT: settings would be done using .chanset then or in the bots' config file (like +nodesynch and so on)

The only thing I don't know is the required version of eggdrop for using setudef.
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