mIRC Home    About    Download    Register    News    Help

Print Thread
#178044 04/06/07 08:49 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
To check if a dialog is created you can use:

if (!$dialog(dialog)) { do stuff }

any command to do the same check on a @window ?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #178046 04/06/07 08:53 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
Code:
if (!$window(@window)) { do stuff }


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
ty, tryed that, but wasnt shure it worked as it should wink


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #178051 04/06/07 08:58 PM
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
You could've checked /help $window


Link Copied to Clipboard