i have issue with combo box which get me a bit frustrated...

in short i have this in INIT:

Code:

on *:dialog:name:init:0:{
  did -a $dname 25 [0] *!user@host.domain
  did -a $dname 25 [1] *!*user@host.domain
  did -a $dname 25 [2] *!*@host.domain
  did -a $dname 25 [3] *!*user@*.domain
  did -a $dname 25 [4] *!*@*.domain
  did -a $dname 25 [5] nick!user@host.domain
  did -a $dname 25 [6] nick!*user@host.domain
  did -a $dname 25 [7] nick!*@host.domain
  did -a $dname 25 [8] nick!*user@*.domain
  did -a $dname 25 [9] nick!*@*.domain
  if (!%host.type) { set %host.type 2 | did -c $dname 25 %host.type }
  elseif (%host.type == 0) { did -c $dname 25 1 }
...
...


and this in SCLICK

Code:
if ($did = 25) { set %host.type $gettok($remove($did(25),[,]),1,32) }



PROBLEM
is that even if i CLICK on host type 0 on combo control (combo value 1)
it will always next time on INIT put it on host type 1 (combo value 2)

and as seen on end of INIT even code, my "chekcup" doesnt work...
and if i set anything else (than host type 0) value in combo dissaperas :P

so what should i do?