mIRC Home    About    Download    Register    News    Help

Print Thread
#481 09/12/02 06:21 AM
L
LewisSharp
LewisSharp
L
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

#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.

#483 09/12/02 07:25 AM
L
LewisSharp
LewisSharp
L
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.

#484 09/12/02 09:05 PM
W
wshs
wshs
W
if ($dialog(name)) { ;it's open }


Link Copied to Clipboard