mIRC Home    About    Download    Register    News    Help

Print Thread
#481 09/12/02 06:21 AM
Joined: Dec 2002
Posts: 9
L
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Dec 2002
Posts: 9
Well well well, apprently you've jsut changed the forum and deleted the last one smile I'm talking about that for the fact that I'm sure someone asked once this but anyway here it is smile :

I have a dialog open but not absolutly active.. I have a timer wich do a /did command to it but i wanna check if the dialog is opened and not if it's active.. I've reread the dialog part in the mIRC help file and didn't find it, until I'm too sleepy to see it wink.

Anyway, anyone help is welcome and appreciated.

NB: Nice forum btw smile


LewisSharp
#482 09/12/02 06:55 AM
Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
I haven't worked with dialogs for a very long time, but perhaps something along the lines of:

Code:
if ($dialog(name).x) { commands }

Also, it may help to know that the mIRC Help file states:

You can also use the $dialog(name/N) identifier to list any open dialogs, where N returns the Nth open dialog. If N is zero, the total number of open dialogs is returned.


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
#483 09/12/02 07:25 AM
Joined: Dec 2002
Posts: 9
L
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
L
Joined: Dec 2002
Posts: 9
really thanks... now i fell stupid for such a noob quesiton but hey I can't remember everything, espeialy while learning C/C++ at school wink anyway thanks you very much smile smile smile

hope to see ya later.. with a real none noob question ... I hope wink

later.


LewisSharp
#484 09/12/02 09:05 PM
Joined: Dec 2002
Posts: 56
W
Babel fish
Offline
Babel fish
W
Joined: Dec 2002
Posts: 56
if ($dialog(name)) { ;it's open }


Acquire. Analyze. Adapt.

Link Copied to Clipboard