mIRC Home    About    Download    Register    News    Help

Print Thread
#262825 11/04/18 12:22 PM
Joined: Dec 2016
Posts: 16
H
Hazman Offline OP
Pikka bird
OP Offline
Pikka bird
H
Joined: Dec 2016
Posts: 16
does anyone have a script that sends a command to a channel at specific times?

Joined: Feb 2011
Posts: 448
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 448
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

Joined: Dec 2016
Posts: 16
H
Hazman Offline OP
Pikka bird
OP Offline
Pikka bird
H
Joined: Dec 2016
Posts: 16
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.

Joined: Sep 2013
Posts: 61
E
Babel fish
Offline
Babel fish
E
Joined: Sep 2013
Posts: 61
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

Last edited by EggFriedCheese; 13/04/18 02:40 PM. Reason: Amended 2nd part of code

Twitch Live-Streamer:
Synth Riders
Beat Saber
www.twitch.tv/eggfriedcheese
Joined: Dec 2016
Posts: 16
H
Hazman Offline OP
Pikka bird
OP Offline
Pikka bird
H
Joined: Dec 2016
Posts: 16
Yeah that seems to be the script i'm looking for, i'll let you know if it works. ty smile


Link Copied to Clipboard