post some of the code then so we can assist you...

You need a group so it will remain checked...

Code:
 on *:Dialog:testing:init:0: {
  if ($group(#test) == on) { did -c $dname 2 }

} 


sub-zero.homeip.net:6667