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 

Timer name based on HOST of a nick or on CHANNEL name

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
simo
Owner


Joined: 22 Mar 2015
Posts: 705

PostPosted: Wed Apr 28, 2021 4:33 pm    Post subject: Timer name based on HOST of a nick or on CHANNEL name Reply with quote

greetz gentz,

i keep having duplicate timers set for basically excecuting the same thing for like ban removal or channel mode removal and such

to prevent things like this:

Quote:

118 {stopbanX500 #all4masti} timer70517 1
113 {stopbanX500 #all4masti} timer70376 1
115 {stopbanX500 #all4masti} timer70432 1

after#159 = {pushmode2 #all4masti -b m:*!*@All4Masti-uen.3km.189.182.IP} timer
after#155 = {pushmode2 #all4masti -b m:*!*@All4Masti-uen.3km.189.182.IP} timer
after#153 = {pushmode2 #all4masti -b m:*!*@All4Masti-uen.3km.189.182.IP} timer
after#150 = {pushmode2 #all4masti -b m:*!*@All4Masti-uen.3km.189.182.IP} timer



so basically what im looking for is for example if a timer involves a host or a nick to be removed from banlist to use the host or nick as timer name and to check for it if its already there then we dont need to have another timer do the same again on the same host

and when a channel mode is involved to remove with a timer to basically use the channel mode and channel name in the timer we can use to check if its already set this will safe us a lot of duplicate timers

unless this isnt possible with timer if optional to use a combi of timer and variables to do the same thing

thanks gentz apreciated as alwayz.
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 692
Location: Tennessee, USA

PostPosted: Wed Apr 28, 2021 6:42 pm    Post subject: Reply with quote

Everything you need to know is in this forum thread..

http://forum.egghelp.org/viewtopic.php?t=9941
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
simo
Owner


Joined: 22 Mar 2015
Posts: 705

PostPosted: Sat May 01, 2021 10:12 am    Post subject: Reply with quote

thanks SpiKe^^
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests 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