Bot Code - 20/07/09 10:47 PM
I have a bot and I would like a message to be sent to channel at timed intervals. Can anyone give me an example of code for that? All help is appreciated.
alias MyTimer { if ($1 == off) { .timerMyTimer off } else { .timerMyTimer 0 $duration(2h) if ($me ison #somechannel) msg #somechannel <My Message> } }
on me:*:JOIN:#somechannel:{ .MyTimer }