set something like this into your init dialog settings
if ($readini(mirc.ini,ident,active) == yes ) { did -c $dname ID }

that should take into account it is a checkbox and check it if it is enabled when u open the dialog


D3m0nnet.com