mIRC Home    About    Download    Register    News    Help

Print Thread
if created #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,.) }
Re: if created [Re: sparta] #178046 04/06/07 08:53 PM
Joined: Dec 2002
Posts: 2,962
S
starbucks_mafia Offline
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.
Re: if created [Re: starbucks_mafia] #178050 04/06/07 08:56 PM
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,.) }
Re: if created [Re: sparta] #178051 04/06/07 08:58 PM
Joined: Sep 2005
Posts: 2,878
H
hixxy Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,878
You could've checked /help $window