I did something like that, but, it's not working, this is for a username/password entry. it's just like:
Quote:

Login
Enter Username: Username
Enter Password: Password
Ok Cancel Help

When I click on the editbox that says username, I want it to delete.


Here's what I have:
Code:
dialog tmuscript {
  title "TMU Mods Admin Script v1.0"
  size -1 -1 289 125
  option pixels
  text "TMU Mods Username", 5, 5 12 100 17
  button "Cancel", 7, 87 90 65 25, cancel
  button "Help", 8, 214 90 65 25
  button "Log In", 6, 12 90 65 25, ok, default
  text "TMU Mods Password", 9, 5 40 100 17
  edit "Username", 10, 110 11 100 20
  edit "Password", 11, 110 38 100 20, pass
  menu "File", 1
  item "Close", 3, 1
  menu "Help", 2
  item "Intructions", 4, 2
}

on *:DIALOG:tmuscript:*:*: {



  if ($devent == init) {
    echo -ae *Opened: tmuscript
    set %start 1
  }

  if ($devent == sclick) {
    if (%start == 1) { did -r tmuscript 10,11 | unset %start }
  }



}


-Kurdish_Assass1n