mIRC Home    About    Download    Register    News    Help

Topic Options
#264279 - 15/11/18 07:29 PM Running a Script on at a Specific Time each day
BlakeNote Offline
Self-satisified door

Registered: 15/11/18
Posts: 4
Hello! I am trying to write a script to write a message to a channel on a specific times for every day of the week. Currently the script that I am doing crashes mIRC client and was wondering if anyone knows a better way of doing this?

Current Script:

on me:*:join:#channel:{
while (($day == Thursday)) {
if (($time == 16:04:00)) {
msg $chan test $day and $time
}
if (($time == 15:50)) {
msg $chan test $day and $time
}
if (($time == 15:52)) {
msg $chan test $day and $time
}
if (($time == 15:53)) {
msg $chan test $day and $time
}
}
}


Edited by BlakeNote (15/11/18 09:06 PM)

Top
#264281 - 15/11/18 09:12 PM Re: Running a Script on at a Specific Time each day [Re: BlakeNote]
maroon Offline
Hoopy frood

Registered: 12/01/04
Posts: 970
take a peek at this thread and see if it's what you need
https://forums.mirc.com/ubbthreads.php/topics/260747/Scheduled_Message_(to_run_a_co#Post260747

Top
#264410 - 27/11/18 11:40 AM Re: Running a Script on at a Specific Time each day [Re: BlakeNote]
ovelayer Offline
Nutrimatic drinks dispenser

Registered: 06/04/15
Posts: 9
if (*00:??:* iswm $fulldate) {
.msg BlakeNote works.
}


I'm sure you can see the pattern and take it from there

Top