mIRC Home    About    Download    Register    News    Help

Topic Options
#204070 - 07/09/08 08:55 AM Timed Message
partyboy911 Offline
Ameglian cow

Registered: 07/09/08
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

Top
#204071 - 07/09/08 09:23 AM Re: Timed Message [Re: partyboy911]
RusselB Offline
Planetary brain

Registered: 03/08/04
Posts: 7252
Loc: Ontario, Canada
/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.

Top
#204088 - 08/09/08 01:36 AM Re: Timed Message [Re: RusselB]
partyboy911 Offline
Ameglian cow

Registered: 07/09/08
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


Edited by partyboy911 (08/09/08 02:44 AM)

Top