mIRC Home    About    Download    Register    News    Help

Print Thread
How to check what kind of active window? #37635 21/07/03 06:59 AM
Joined: Jan 2003
Posts: 127
L
littlecramp Offline OP
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
Channel window has a # prefix, fserve has a = prefix. how to check whether an active window is a query window?

Re: How to check what kind of active window? #37636 21/07/03 07:32 AM
Joined: May 2003
Posts: 730
S
ScatMan Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
$query($active)
will return the nickname if it's exist, otherwise $null

Re: How to check what kind of active window? #37637 21/07/03 09:35 AM
Joined: Jan 2003
Posts: 2,523
Q
qwerty Offline
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
You can also use $window($active).type


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com