mIRC Home    About    Download    Register    News    Help

Print Thread
Script 2 say Hi 2 keep me active & 1 to log me out #242335 05/07/13 08:22 PM
Joined: Jul 2013
Posts: 4
E
ERIC_ESOT Offline OP
Self-satisified door
OP Offline
Self-satisified door
E
Joined: Jul 2013
Posts: 4
I am a total Newb to scripts.
I keep getting banned for inactivity on 2 channels.
I need a script 1 to just say hi or something.
& I need a script to log me off after 30 minutes or 1 hour.
Please be very detailed from step 1 or I may get lost not able to figure out where u start or what u mean by ur statements.
Thanks in advance

Re: Script 2 say Hi 2 keep me active & 1 to log me out [Re: ERIC_ESOT] #242337 05/07/13 09:34 PM
Joined: Jun 2013
Posts: 43
G
GamingTom Offline
Ameglian cow
Offline
Ameglian cow
G
Joined: Jun 2013
Posts: 43
You could put this into aliases:

Code:
/active_on /timerActive 0 1800 msg #<channel> Hi
/active_off /timerActive off


This will repeat 'Hi' every 30 minutes when you type in /active_on into the mirc window. And it will stop when you type /active_off. The '1800' is the ammount off seconds inbetween each message.

You could also type this into aliases:

Code:
/leave_on /timerLeave 0 3600 msg #<channel> /part
/leave_off /timerLeave off


This works the same way, when you type in /leave_on you will leave the channel every hour.
Hope this helps and if you have anything else you need, I or anyone else on the forums would be happy to help.
-Tom.

Re: Script 2 say Hi 2 keep me active & 1 to log me out [Re: GamingTom] #242345 06/07/13 02:25 AM
Joined: Oct 2012
Posts: 164
D
Deega Offline
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2012
Posts: 164
Originally Posted By: GamingTom
Code:
/leave_on /timerLeave 0 3600 msg #<channel> /part
Pretty sure you meant
Code:
/leave_on /timerLeave 0 3600 part #<channel>
wink
--

You can make the timers more dynamic.
Code:
/active_on .timerActive. $+ $$chan 0 1800 if ($me ison # ) msg # Hi
/active_off .timerActive. $+ $iif(#,#,*) off

Now use /active_on in any channel window to msg THAT channel every 30m (1800s).
Typing /active_off in a channel window will stops the timer for THAT channel, while /active_off anywhere else will stop ALL Active.* timers

Obviously, you can/should do the same with the Leave* timers.