mIRC Homepage
It has been quite some time since I have done anything on Mirc, however that being said I am attempting to send a message to the channel the bot is in every 60 minutes. However I am positive I am doing something wrong, if someone could give me some advice on my mistake and show me how to fix it I would appreciate it. In my scripts editor under remote I did this

{ timer -m 1 3600 msg $chan The message to channel }
Hi! The -m switch makes the timer work with miliseconds so you don't need it. And to repeat you need to change 1 to 0 because 1 means 1 time, 0 means forever smile
Code:
timer 0 3600 msg $chan The message to channel
I input the code as you put, however it isn't posting at all in the channel. I checked the brackets after I changed it.
Originally Posted By: OrFeAsGr
Hi! The -m switch makes the timer work with miliseconds so you don't need it. And to repeat you need to change 1 to 0 because 1 means 1 time, 0 means forever smile
Code:
timer 0 3600 msg $chan The message to channel


This should work. Is $chan getting evaluated in the event? If not, that explains why it does not work.
Either that, or you have a syntax error in your script or the event does not get triggered at all.
Perhaps if we see all of your code we could help better.
I think he is missing the trigger. His first post said he has this in his remotes file:

Originally Posted By: Striker


{ timer -m 1 3600 msg $chan The message to channel }



If that's true, you need a trigger in your remotes file as well.

Code:
on *:text:*!trigger:#: {
 .timer 1 3600 msg $chan The message to channel 
}
© mIRC Discussion Forums