mIRC Home    About    Download    Register    News    Help

Print Thread
#136243 24/11/05 05:06 PM
Joined: Aug 2005
Posts: 14
Eddy2k5 Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Aug 2005
Posts: 14
is it possible to auto close a query after example 5mins?
if it is anyone wanna create one?

#136244 24/11/05 05:26 PM
Joined: Aug 2005
Posts: 525
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
/help /close

This should answer your quesiton. Just add with it a timer. If you're looking for something more in depth then be more specific.

#136245 24/11/05 07:31 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Try..

Code:
On *:Open:?:*: {
  $+(.timer,$nick,.close) 1 300 if $window($nick) == $nick close -m $nick
}


-Andy

#136246 24/11/05 08:09 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
on *:TEXT:*:?:{ $+(.timer.close.query.,$cid,.,$nick) -o 1 300 close -m $nick }
on *:INPUT:?:{ $+(.timer.close.query.,$cid,.,$target) -o 1 300 close -m $target }

That well (re)activate the timer at 5mins when they say something, or if u say something. So it closes 5 mins after you too have stop talking.

#136247 25/11/05 07:22 AM
Joined: Aug 2005
Posts: 14
Eddy2k5 Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Aug 2005
Posts: 14
thanks for the help guys! smirk


Link Copied to Clipboard