mIRC Home    About    Download    Register    News    Help

Print Thread
Dialog Assistance. #140363 24/01/06 11:51 PM
Joined: Aug 2005
Posts: 18
M
Mail Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Aug 2005
Posts: 18
I am making a dialog using check or radio. What I am wanting to do is, After closing the dialog, I want the boxes that were previously checked to show once the dialog is reopened. I am just not sure how to make this happen. Any assistance in this matter would be greatly appreciated.

Re: Dialog Assistance. #140364 25/01/06 12:01 AM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline
Vogon poet
Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
post some of the code then so we can assist you...

You need a group so it will remain checked...

Code:
 on *:Dialog:testing:init:0: {
  if ($group(#test) == on) { did -c $dname 2 }

} 


sub-zero.homeip.net:6667

Re: Dialog Assistance. #140365 25/01/06 12:15 AM
Joined: Aug 2005
Posts: 18
M
Mail Offline OP
Pikka bird
OP Offline
Pikka bird
M
Joined: Aug 2005
Posts: 18
Your example was fine Skeletor. That was alot of help. Thanks.

Re: Dialog Assistance. #140366 25/01/06 12:18 AM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline
Vogon poet
Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
No worries smile


sub-zero.homeip.net:6667