I wrote a script that checks the channelpeak every minute. Everytime I rehash my eggdrop, another timer starts. So I should kill all other timer, that were set by my script. I found the function "killtimer" but I don`t know how to check the exisiting timers, and how to kill all of them...
Could anyone please give me an example of a source that will kill all existing timers?
foreach t [timers] {
killtimer [lindex [split $t] end]
}
timers
Returns: a list of active minutely timers. Each entry in the list contains
the number of minutes left till activation, the command that will be
executed, and the timerID.