mIRC Homepage
Posted By: Hazman Looking for a timer script - 11/04/18 12:22 PM
does anyone have a script that sends a command to a channel at specific times?
Posted By: KindOne Re: Looking for a timer script - 12/04/18 05:11 AM
Can you be more specific on "specific times"? At 3AM every morning or every X amount of seconds?

You can find some examples and a bit of help on the syntax here, https://en.wikichip.org/wiki/mirc/commands/timer
Posted By: Hazman Re: Looking for a timer script - 13/04/18 01:36 PM
Originally Posted By: KindOne
Can you be more specific on "specific times"? At 3AM every morning or every X amount of seconds?

You can find some examples and a bit of help on the syntax here, https://en.wikichip.org/wiki/mirc/commands/timer


I'm still new to mirc, basically a script that would post a message every 5 minutes.
Posted By: EggFriedCheese Re: Looking for a timer script - 13/04/18 02:07 PM
Hey Hazman.

You already have a command to your disposal, built into mIRC

For example, if you wanted it to post 1 message every 5 minutes, I would use the following:

Quote:
on $*:TEXT:!announce on:#:{
if (%announce) { return } | set -u15 %announce On | /timerannounce 0 300 .msg # This message will post to your channel every 5 minutes }

on $*:TEXT:!announce off:#:{
set -u15 %announce On | /timerannounce off }


Let me know if this helps smile
Posted By: Hazman Re: Looking for a timer script - 13/04/18 02:27 PM
Yeah that seems to be the script i'm looking for, i'll let you know if it works. ty smile
© mIRC Discussion Forums