All pastes #548923 Raw Edit

Mine

public text v1 · immutable
·published 2007-06-07 22:39 UTC
rendered paste body
menu * {
  Message All:/dialog -m Global Global
}
dialog Global {
  title "Global Messaging System"
  size -1 -1 100 100
  option dbu
  button "Msg", 1, 39 90 20 10, default
  button "Close", 2, 70 10 30 15, cancel
  edit "", 3, 1 55 98 35, multi
  text "By Nick Adams", 4, 60 0 40 10
  radio "Normal Message", 5, 7 7 48 10, push
  radio "Important Message", 6, 7 20 55 10, push
  radio "New Command", 7, 7 33 48 10, push
}
on *:dialog:Global:sclick:1: {
  if ($did(3) != $null) {
    if ($did(5).state == 1) {
      /amsg [GLOBAL] - $did(3)
    }
    elseif ($did(6).state == 1) {
      /amsg [GLOBAL] - Important Notice - $did(3)
    }
    elseif ($did(7).state == 1) {
      /amsg [GLOBAL] - New Command(s) - $did(3)
    }
    halt
  }
}