Originally Posted By: sparta
You could try somthing like this instead.

Code:
alias support { if (!$dialog(support)) { dialog -m support support } }

dialog support {
  title "Support"
  size -1 -1 300 100
  button "Start",1, 1 5 120 25
  button "Verify",2, 1 35 120 25
  button "Test",3, 1 65 120 25
  button "Cancel",6, 130 65 100 25, cancel
}

on *:dialog:support:*:*: {
  if ($devent == init) {
    echo -st This will show up when you create the dialog.
  }
  if ($devent == sclick) {
    if ($did == 1) { echo -st Hello! What can I help you with? }
    elseif ($did == 2) { echo -st Could you please verify the the username and email address of your account for security purposes }
    elseif ($did == 3) { echo -st Test Successful! }
  }
}

Untested, but i think it should work.


Thanks, but nothing happens when I click the buttons with that either.