I`ve got weather script wich work fine. But I want run that script on timed and results printed on my channel.
From weather.tcl:
bind pub - !weather weather::weatherpub
proc weatherpub {nick uhost handle chan text} {
blaa blaa blaa .....
How to run weatherpub automatically ?
This is asking args for weatherpub, how to give them?
bind time - "30 % % % %" weather::autoshow
proc autoshow{args} {
putserv "NOTICE #channel : {[weather::weatherpub]}"
}
Is there any better way to do that?