mIRC Homepage

dialog question

Posted By: learn3r

dialog question - 01/04/07 02:10 PM

i have an alias that
contains
Quote:
/did -ra 14 %info


but, when the dialog is still close it returns an error any solutions for this kind of problem?
Posted By: hixxy

Re: dialog question - 01/04/07 02:12 PM

There's no dialog name in that code.
Posted By: learn3r

Re: dialog question - 01/04/07 03:28 PM

oh sorry i meant
Quote:
/did -ra infomatix 14 %info


working perfectly when the dialog is open but when it's not it returns /did insufficient parameters coz the dialog isn't open
what is the code for:
if the dialog ain't open it'll only echo but when it's open it'll /did -ra infomatix 14 %info
Posted By: hixxy

Re: dialog question - 01/04/07 03:32 PM

Code:
if ($dialog(infomatix)) { did -ra infomatix 14 %info }
else { echo -a %info }
Posted By: learn3r

Re: dialog question - 02/04/07 12:25 AM

Thanks hixxy
© 2021 mIRC Discussion Forums