Code: Select all
bind time - * Auto:scan
proc Auto:scan {minute hour day month year} {
foreach chan [channels] {
putserv "PRIVMSG $chan :test"
}
}
Code: Select all
bind time - * Auto:scan
proc Auto:scan {minute hour day month year} {
foreach chan [channels] {
putserv "PRIVMSG $chan :test"
}
}
Code: Select all
bind EVNT - init-server pTimerStart
proc pTimerStart {type} {
utimer 15 pTimerOutput
return 0
}
proc pTimerOutput {} {
foreach chan [channels] {
if {[botonchan $chan]} {
putquick "PRIVMSG $chan :test"
}
}
utimer 15 pTimerOutput
return 0
}