mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2004
Posts: 129
A
AaronL Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Jan 2004
Posts: 129
G'day to all

As the topic says.
I have a dialog with several buttons.
They open a aline window, but the dialog needs to be closed after that. As long its one button, the ok works good, but i want 2 other buttons to do the closing aswell.
Is that possible, and so yes please help me out.

Thanxs in advanged.
Aaron


Deridio fatum
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
To close without triggering any events:
Code:
  if ($did == XXXX) { dialog -x $dname }


To close by "clicking" the OK button:
Code:
  if ($did == XXXX) { dialog -k $dname }



Invision Support
#Invision on irc.irchighway.net
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Use the on dialog sclick event for those two buttons to perform a /dialog -c $dname (or /dialog -x $dname). You'll need to look up these things in the help file for more details.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Jan 2004
Posts: 129
A
AaronL Offline OP
Vogon poet
OP Offline
Vogon poet
A
Joined: Jan 2004
Posts: 129
Hi Riamus 2.

I used your first example and it works just fine..
Thank you so much smile


Deridio fatum

Link Copied to Clipboard