mIRC Home    About    Download    Register    News    Help

Topic Options
#5154 - 06/01/03 12:01 AM query inactive
rserewrew Offline
Pikka bird

Registered: 09/12/02
Posts: 11
how can i make possible mIRC auto close inactive query (30 sec inactivity) ?

tnx all.

Top
#5155 - 06/01/03 03:40 AM Re: query inactive
Hammer Offline
Hoopy frood

Registered: 07/12/02
Posts: 1321
Loc: Georgia, USA
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

Top
#5156 - 06/01/03 08:43 AM Re: query inactive
Online Offline
Hoopy frood

Registered: 09/12/02
Posts: 1922
Fortunately /close doesn't have massive error checking, so no need to check if $query(nick) exists before attepting to close it.

Top