mIRC Homepage
Posted By: Ninko Time Response - 01/09/04 06:08 PM
Hi there,
Is it possible to have the script say a message to the room triggered by a certain time of the day?

Thanks smile
Posted By: dr_Eamer Re: Time Response - 01/09/04 06:13 PM
Check out this thread...

It's like today's thread... Anyway...
Posted By: Ninko Re: Time Response - 01/09/04 06:18 PM
I don't actually want to start it off myself, I'd like it to always responde to that certain time every day.
Posted By: dr_Eamer Re: Time Response - 01/09/04 06:26 PM
It is still answered in th thread I gave you...
Here's the code anyway:
Code:
on *:START:{ .timer [color:green]14:30[/color] 1 0 auto_respond }

alias -l auto_respond {
  if $status == connected { msg [color:red]#channel[/color] [color:blue]blah blah yada yada whatever[/color] }
  .timer 1 120 .timer [color:green]14:30[/color] 1 0 auto_respond
}


Change the green time with whatever time you want (even a variable holding the time), the red channel with the channel you want and the blue text with the response.
Posted By: Ninko Re: Time Response - 01/09/04 06:42 PM
Ok, thank you, its just it never had that code on the other thread.

Take care smile
Posted By: dr_Eamer Re: Time Response - 01/09/04 06:46 PM
No prob! You are welcome!
Have fun!

Be well smile
© mIRC Discussion Forums