mIRC Homepage

Running a Script on at a Specific Time each day

Posted By: BlakeNote

Running a Script on at a Specific Time each day - 15/11/18 07:29 PM

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
}
}
}
Posted By: maroon

Re: Running a Script on at a Specific Time each day - 15/11/18 09:12 PM

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
Posted By: ovelayer

Re: Running a Script on at a Specific Time each day - 27/11/18 11:40 AM

if (*00:??:* iswm $fulldate) {
.msg BlakeNote works.
}


I'm sure you can see the pattern and take it from there
© 2021 mIRC Discussion Forums