mIRC Home    About    Download    Register    News    Help

Print Thread
Timed Message #204070 07/09/08 07:55 AM
Joined: Sep 2008
Posts: 23
P
partyboy911 Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Sep 2008
Posts: 23
Hi All,

I searched around but couldn't find an example. Can someone please post an example script of how to make a bot send out a message to the chan lets say.. every 10 minutes.

Or point me to where I can find this?

Either would be great,
Thank You smile

Re: Timed Message [Re: partyboy911] #204071 07/09/08 08:23 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
/help /timer

Code:
on me:*:join:#:{
  /timer 0 600 msg $chan <message>
}


Replace <message> with the message that you actually want sent.

This code will send a message to the channel every 10 minutes after you join.

Re: Timed Message [Re: RusselB] #204088 08/09/08 12:36 AM
Joined: Sep 2008
Posts: 23
P
partyboy911 Offline OP
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Sep 2008
Posts: 23
Thank you very much russel smile

Enjoy your night

Edit:

As of right now it's not working. I put in:

Code:
 on me:*:join:#:{ 
/timer 0 30 /msg $chan Testing message. Send every 30 
} 


(I'm user 300)

Couldn't have done it without you smile

Just to test it out and it's not sending. That code is right, correct?

Edit2:
I read what you provided for help (Thank you very much!) and came up with this code that worked.

Code:
on 300:TEXT:!timer:#: { /timer1 0 30 msg $chan Testing this timer } 


I'm user 300. Thanks couldn't have done it without you smile

Last edited by partyboy911; 08/09/08 01:44 AM.