mIRC Homepage
Posted By: LewisSharp Need some little help. - 09/12/02 06:21 AM
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
Posted By: Dana Re: Need some little help. - 09/12/02 06:55 AM
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.
Posted By: LewisSharp Re: Need some little help. - 09/12/02 07:25 AM
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.
Posted By: wshs Re: Need some little help. - 09/12/02 09:05 PM
if ($dialog(name)) { ;it's open }
© mIRC Discussion Forums