hmm, did you mean like this ?
on *:dialog:isrun:sclick:*: {
if ($did == 1) && ($did(1).seltext == on) { set %serveron on }
elseif ($did == 1) && ($did(1).seltext == off) { set %serveron off }
}
on *:dialog:isrun:sclick:*: {
if ($did == 2) && ($did(2).seltext == on) { set %rogeron on }
elseif ($did == 2) && ($did(2).seltext == off) { set %rogeron off }
}
on *:dialog:isrun:sclick:*: {
if ($did == 3) && ($did(3).seltext == on) { set %winampon on }
elseif ($did == 3) && ($did(3).seltext == off) { set %winampon off }
}
on *:dialog:isrun:sclick:*: {
if ($did == 4) && ($did(4).seltext == on) { set %uton on }
elseif ($did == 4) && ($did(4).seltext == off) { set %uton off }
}
on *:dialog:isrun:sclick:*: {
if ($did == 5) && ($did(5).seltext == on) { set %webcamon on }
elseif ($did == 5) && ($did(5).seltext == off) { set %webcamon off }
}
(BTW, i did put spces between the
} and
on, but this code has bunched it up)
Because all its doing is creating the first variable for
%serveron on and nothing else, thanks for trying
ShadowDemon