ON *:DIALOG:name:*:*: { if ( $devent == sclick ) { if ( $did == N ) ;; ID of the checkbox if ( $did( $dname, N ).state == 1 ) { echo -s checked! } else { echo -s unchecked! } } }