mIRC Home    About    Download    Register    News    Help

Print Thread
#5154 06/01/03 12:01 AM
Joined: Dec 2002
Posts: 11
R
Pikka bird
OP Offline
Pikka bird
R
Joined: Dec 2002
Posts: 11
how can i make possible mIRC auto close inactive query (30 sec inactivity) ?

tnx all.

#5155 06/01/03 03:40 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Put these two lines in your remotes (Alt-R):
Code:

on *:TEXT:*:?: $+(.timerquery.,$nick) 1 30 close -m $nick
on *:INPUT:?: $+(.timerquery.,$active) 1 30 close -m $active

NOTE: You will only have 30 seconds to respond to anyone who msgs you before you miss the message entirely.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#5156 06/01/03 08:43 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Fortunately /close doesn't have massive error checking, so no need to check if $query(nick) exists before attepting to close it.


Link Copied to Clipboard