mIRC Home    About    Download    Register    News    Help

Print Thread
#91852 26/07/04 06:57 PM
Joined: Jul 2004
Posts: 4
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jul 2004
Posts: 4
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

Joined: Aug 2003
Posts: 19
P
Pikka bird
Offline
Pikka bird
P
Joined: Aug 2003
Posts: 19
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,


Propogater @ DALnet, #HelpDesk and #Help
Joined: Jul 2004
Posts: 4
D
Self-satisified door
OP Offline
Self-satisified door
D
Joined: Jul 2004
Posts: 4
Thank you a lot , that really helped

Joined: Aug 2003
Posts: 19
P
Pikka bird
Offline
Pikka bird
P
Joined: Aug 2003
Posts: 19
You're welcome smile


Propogater @ DALnet, #HelpDesk and #Help

Link Copied to Clipboard