This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

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

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
s
simo
Revered One
Posts: 1077
Joined: Sun Mar 22, 2015 2:41 pm

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

Post by simo »

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:
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.
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

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
.
s
simo
Revered One
Posts: 1077
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

thanks SpiKe^^
Post Reply