mIRC Homepage
Posted By: biggem001 dialog finish - 04/08/04 02:28 AM
ok so i got this
dialog FileServer {
title "File Server"
size -1 -1 160 120
option dbu
tab "File Server", 1, -2 -2 159 119
text "Trigger", 2, 21 20 18 7, tab 1
button "Accept", 3, 30 102 37 12, tab 1
button "Reset", 4, 79 102 37 12, tab 1
text "Fserve Directory", 5, 3 33 43 8, tab 1
text "Welcome File(Not Required)", 6, 0 49 67 8, tab 1
edit "!", 8, 69 19 70 10, tab 1
edit "", 9, 69 33 69 10, tab 1
edit "", 10, 69 48 70 10, tab 1
}
and got it running with this
/f4 /dialog -m FileServer FileServer
now i need to configure the dialog so that each text imput becomes a variable and and accept will save the variable and the reset will clear it
plz just finish this and ill be happy!
Posted By: ShinZon Re: dialog finish - 04/08/04 02:40 AM
dialog FileServer {
title "File Server"
size -1 -1 160 120
option dbu
tab "File Server", 1, -2 -2 159 119
text "Trigger", 2, 21 20 18 7, tab 1
button "Accept", 3, 30 102 37 12,ok, tab 1
button "Reset", 4, 79 102 37 12, tab 1
text "Fserve Directory", 5, 3 33 43 8, tab 1
text "Welcome File(Not Required)", 6, 0 49 67 8, tab 1
edit %input1, 8, 69 19 70 10, tab 1
edit %input2, 9, 69 33 69 10, tab 1
edit %input3, 10, 69 48 70 10, tab 1
}

if ($did == 3) {
%input1 = $did(8)
%input2 = $did(9)
%input3 = $did(10)
}

if ($did == 4) {
did -r fileserver 8
did -r fileserver 9
did -r fileserver 10
}

%input1 %input2 and %input3 are editboxes

ID 3 is ACCEPT button
ID 4 is RESET button

add: for some nice reason this dialog doesnt work at me lol and it should...
Posted By: biggem001 Re: dialog finish - 04/08/04 03:20 AM
wats the add for accept or reset??
Posted By: biggem001 Re: dialog finish - 04/08/04 03:30 AM
nevermind got it
© mIRC Discussion Forums