mIRC Home    About    Download    Register    News    Help

Print Thread
#96420 01/09/04 06:08 PM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
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

#96421 01/09/04 06:13 PM
Joined: Aug 2004
Posts: 101
D
Vogon poet
Offline
Vogon poet
D
Joined: Aug 2004
Posts: 101
Check out this thread...

It's like today's thread... Anyway...


Maybe I wake up one day to notice that all my life was just a dream!
#96422 01/09/04 06:18 PM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
I don't actually want to start it off myself, I'd like it to always responde to that certain time every day.

#96423 01/09/04 06:26 PM
Joined: Aug 2004
Posts: 101
D
Vogon poet
Offline
Vogon poet
D
Joined: Aug 2004
Posts: 101
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.


Maybe I wake up one day to notice that all my life was just a dream!
#96424 01/09/04 06:42 PM
Joined: Jun 2004
Posts: 139
N
Ninko Offline OP
Vogon poet
OP Offline
Vogon poet
N
Joined: Jun 2004
Posts: 139
Ok, thank you, its just it never had that code on the other thread.

Take care smile

#96425 01/09/04 06:46 PM
Joined: Aug 2004
Posts: 101
D
Vogon poet
Offline
Vogon poet
D
Joined: Aug 2004
Posts: 101
No prob! You are welcome!
Have fun!

Be well smile


Maybe I wake up one day to notice that all my life was just a dream!

Link Copied to Clipboard