Is there a way hehe?
And now, my script i'm using this code, but it's not killing the timers, it keeps starting... hehe
I am basically trying to do, if it finds itself op i want to kill the timers for the message
thanks
Code: Select all
proc complain {} {
global services botnick
utimer $services(complaintime) complain
set chan $::channel
puthelp "PRIVMSG $chan :No access to op myself, please op me."
set testtimer ""
foreach testtimer [utimers] {
if {[string match "complain" $testtimer]} {
utimer $services(complaintime) complain
if {[botisop $chan]} {
set killit ""
foreach killit [utimers] {
if {[string equal -nocase complain [lindex $killit 1]]} {
killutimer [lindex $killit 2]
break
}
}
}
}
} }