/help /did
Quote:
-c check checkbox/radiobutton list/combo line
-u uncheck checkbox/radiobutton list/combo line


Suggestion
Code:
dialog ampstat {
  title "Winamp Stat"
  size -1 -1 320 210
  option pixels
  box "Select type of Public Away Message", 12, 9 102 299 65
  edit %amp.play, 1, 10 28 100 20, autohs
  edit %amp.play.mid, 2, 111 28 100 20, autohs
  edit %amp.play.end, 3, 212 28 100 20, autohs
  text "Beginning:", 4, 10 11 50 14
  text "Middle:", 5, 111 11 34 14
  text "Ending:", 6, 213 11 36 14
  check "Show time", 7, 10 55 74 17
  check "Show kb/ps", 8, 10 76 80 17
  button "OK", 9, 174 177 65 25, ok
  button "Cancel", 10, 243 177 65 25, cancel
  radio "/msg - Send message to channel", 14, 21 121 183 17,group
  radio "/me - Send action message to channel", 15, 21 140 208 17
}

on *:dialog:ampstat:sclick:9:{
  set %amp.play.length $iif($did(7).state,on,off)
  set %amp.play.kbps $iif($did(8).state,on,off)
  set %amp.play.sayact $iif($did(14).state,say,action)
  set %amp.play $did(1)
  set %amp.play.mid $did(2)
  set %amp.play.end $did(3)
}