mIRC Home    About    Download    Register    News    Help

Print Thread
#68575 20/01/04 12:09 AM
Joined: Nov 2003
Posts: 157
RuFy Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Nov 2003
Posts: 157
Hi, my name is [R]u[F]y.
I'm an italian scripter and i use mIRC since version 5.9. Well, i think that i have found a bug.
When i open a new Server Window, the command "//echo -a $window(Status Window,N)" return me 1, whereas it will return me 2. Is this normal?
I search a command that count all the Status Window opened, and i have tried with this.
Someone can solve this problem?
Thanks a lot, i like mIRC (without bug obiouvsly) laugh

See you, ciao

#68576 20/01/04 12:46 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
$window(wildcard,0) for non-custom windows only returns the number of matching windows on the current $cid, so $window(#*,0) returns the number of channel windows open on that connection.

$scon(0) returns the number of open status windows.


Link Copied to Clipboard