Well, i tried both solutions, but it still doesn't work.
So i give the whole (small) routine..
(dunno how to put it in code sorry for that)

on *:DIALOG:setup:*: {

if ($devent == init) {
if (%janeekleur == ON) { did -c setup 411 }
}

if ($devent == sclick) {
if ($did == 411) {
var %s = $iif($did(411).state,ON,OFF)
set %janeekleur %s
strip $iif(%s == on,+c,-c)
echo -a System: Colored text $iif(%s == on,allowed,refused)
}
}
}

i used the part from xDaemon. thanks xDaemon. smile


Deridio fatum