THX Script that was Exactly what I was looking for but I don't feel too bad now heh...
Heck when I asked in the Shout Box..
Alpha: Is there a command to uncheck a menu checkbox?
I got this Answer...
Cerveza: menu Check {name} {x} {y} {width} {height} {checked} {text} - CHECKED is either #true or #false
Which was all good because at that point I hadn't realized I could set #True / #False with the "Menu Check" commands...
But.... as I played with it I ended up with something amazing similar to what you posted.. Matter of fact if you replace that Mysterious
"Menu set checkbox1 #false" with a similar "Menu Check" command it don't work for $HIT lol... On a Side note.. I had already gone through the Docs reguarding Menu stuff
http://wiki.easyuo.com/index.php/Menu_Set and didn't think "menu Set Sets the text of a control " had anything to do with what I was looking for. Anyway thx again.. "Menu Set checkbox #false" etc was what I was missing...
GOSUB menu
REPEAT
WAIT 1
GOSUB checkBoxes
UNTIL #CHARGHOST = YES
SUB checkBoxes
menu get checkbox1
IF #menures = #TRUE && %box1 = #TRUE
{
menu get checkbox2
IF #menures = #TRUE && %box2 = #FALSE
{
;menu set checkbox1 #FALSE
menu Check checkbox1 32 20 97 17 #false Check Box 1 ;--Using this is what I was trying & didn't work at all..
set %box2 #TRUE
set %box1 #FALSE
}
}
menu get checkbox2
IF #menures = #TRUE && %box2 = #TRUE
{
menu get checkbox1
IF #menures = #TRUE && %box1 = #FALSE
{
;menu set checkbox2 #FALSE
menu Check checkbox2 32 40 97 17 #false Check Box 2 ;--Using this is what I was trying & didn't work at all..
set %box2 #FALSE
set %box1 #TRUE
}
}
RETURN
menu check Primary 5 5 85 20 #false Primary
SUB menu
menu Clear
menu Window Title EUOMenu1
menu Window Color BtnFace
menu Window Size 164 74
menu Font Transparent #true
menu Font Align Right
menu Font Name MS Sans Serif
menu Font Size 8
menu Font Style
menu Font Color WindowText
menu Font Align Left
menu Check checkbox1 32 20 97 17 #false Check Box 1
menu set checkbox1 #TRUE
SET %box1 #TRUE
SET %box2 #FALSE
menu Check checkbox2 32 40 97 17 #false Check Box 2
menu Show 421 270
return
Changing this sub to the below code will make it turn checkbox2