Im writing a script that gets your info, Your ip your current server what port etc etc the rough script is
dialog first {
title "Your System Info"
size -1 -1 300 300
button "OK",1, 80 250 120 25, OK
text "Your Ip Is",2, 1 1 100 25
edit "Ip Here",3, 1 15 100 20
text "Current Server",4, 1 33 100 25
edit "Current Server",5, 1 45 100 20
}
Now I looked in help and could find out how to make it so I could set a button to get the values I have an alias set to run it
/systems {
did -r first 3
did -a first 3 $ip
did -r first 5
did -a first 5 $server
}
But what would I do to have a button run the alias? or have a script run it as soon as the dialog runs, I was later planning on adding check boxes to let the user chose what info to play into the active window.