I tried to make following the example of the user Online , but I did not obtain to make. The code of dialog is this:
dialog configuser {
title "Personal Commands"
size -1 -1 250 79
option dbu
box "Auth - X Commands", 1, 5 6 130 49
text "Username :" 2, 10 21 50 15
text "Pass:" 3, 14 38 50 15
edit "" 4, 40 19 70 11
edit "" 5, 40 36 70 11, pass
icon Face01.ico, 0
icon 6, 112 18 50 210, User profile.ico, 0, noborder
icon 7, 112 35 50 210, secureity.ico, 0, noborder
box "Identd" 8, 138 6 108 22
edit "" 9, 172 13 70 11
text "ID:" 10, 162 16 10 10
box "Away (F10)" 11, 138 33 108 22
edit "" 12, 172 40 70 11
text "NickAway:" 13, 143 42 25 15
button "Help" 14, 103 60 32 15
button "Details" 15, 139 60 32 15
button "OK" 16, 179 60 32 15, ok
button "Cancel" 17, 214 60 32 15, Cancel
check "Automatic" 18, 6 55 69 14
check "Not registered" 19, 6 64 69 14
}
Code user Online (example)
Put this code in the remote and type /dialog -m x x
dialog x {
size -1 -1 110 35
button "Show Details" 1, 5 5 100 25
edit "details here" 2, 5 40 100 55, read
}
On *:dialog:x:sclick:1:{
if $did(1) == Show details {
dialog -s x -1 -1 110 100
did -a x 1 Hide details
}
else {
dialog -s x -1 -1 110 35
did -a x 1 Show details
}
}
Help me.
Sorry my english