mIRC Homepage
Posted By: dj_lane How to say something every 30 minutes - 02/01/05 09:38 PM
I would like my mirc to say something every 30 minutes... im sure this is easy but im a newb... so how do i do this?
/timer<name> 0 1800 <your text here>
Posted By: dj_lane Re: How to say something every 30 minutes - 02/01/05 10:19 PM
Quote:
/timer<name> 0 1800 <your text here>


what do you mean by the name after the timer?
Timer names aren't necessary. I usually refer to it as a reference, to tell different timers apart.

If no name is specified it will look something like


-
* Timer 1 activated
-
* Timer 1 halted
-


Lets say you started the timer called djlane to message a user ever half hour.

/timerdjlane 0 1800 /msg dj_lane bleh..
Yes, maybe I should not have assumed you'd know that. The name isn't necessary
/timer 0 1800 I am away now.
(will work just fine.)
What will work fine? If you was refering to /timer 0 1800 I am away now. that wont work fine. You'll get an error every half hour saying:-

-
I Unknown command.
-
You're right, how about this?

/timer 0 1800 /msg $chan Sorry, $me is away now.

you must tell it what to do, but since I had no idea what they wanted, I left it off. I'm not a mind-reader but I don't want to mislead people either.
What if they aren't away though? Messing with you dude. It's perfect. grin
Posted By: TaZz2 auto message - 05/01/05 01:04 AM
it works, thanks smile
Posted By: tidy_trax Re: auto message - 05/01/05 01:10 AM
30 minutes:

Code:
.timermsg 0 1800 msg [color:red]#channel[/color] "My Text Here"


30 seconds:

Code:
.timermsg 0 30 msg [color:red]#channel[/color] "My Text Here"
Posted By: SladeKraven Re: auto message - 05/01/05 02:09 AM
Also, to find out the number of seconds.

//echo $duration(30 mins)

Returns 1800

You can use hrs,mins,secs.

//echo $duration(1 hr)
//echo $duration(60 mins)
//echo $duration(3600 secs)

Will all return 3600.
© mIRC Discussion Forums