mIRC Homepage
Posted By: DyNaPeTe Questiion. Who can help me? - 26/07/04 06:57 PM
I made the followign away dialog:
dialog Away {
title "Away System"
size -1 -1 400 200
edit "", 10,25 48 120 20, multi edit
text "Away Name",2, 25 32 100 13, autohs
edit "", 11,25 90 200 20,
text "Reason",3, 25 75 100 13,
box "Pager/Logger",12, 250 3 100 140
button "Set Away",4, 30 120 60 20
button "Set Back",5, 107 120 60 20
text "Logger",15, 270 35 60 100 13
button "On",7, 270 100 30 20 30
button "Off",8, 300 100 30 20 30
text "Pager",16, 270 85 100 13
button "On",9, 270 50 30 20 30
button "Off",14,300 50 30 20 30
button "Cancel",17,180 120 60 20, cancel

In the edit box with ID 11 , one puts a nickname and u'll be set away and change to that nickname. After I close the dialog, that value is deleted.

Is it any posible way to make the dialog Have that value still there when i open it again?

Thanks
Posted By: Propogater Re: Questiion. Who can help me? - 26/07/04 07:05 PM
Add %away.nick after the editbox;

edit "", 11,25 90 200 20, %away.nick

Then you add the following to your remote (alt + r);

on *:DIALOG:Away:INIT:0:DID -a $dname 11 %away.nick

Hope that'll work smile

Yours,
Posted By: DyNaPeTe Re: Questiion. Who can help me? - 26/07/04 07:48 PM
Thank you a lot , that really helped
Posted By: Propogater Re: Questiion. Who can help me? - 26/07/04 07:59 PM
You're welcome smile
© mIRC Discussion Forums