hey, i got 2 radio buttons. im trying to put it so that if i select say slot1 that $x = 100 and $y = 200 and if you select slot 2 that $x = 300 and $y = 400. i think what ive done below is right but i have no clue. i remember some stuff about when i used vb like a year ago to make something for a project. im not sure what to put for when the radio button is selected right now i put true. thinking that if its no then its false but if it is then its true. below is the code
;the group with the 2 radio buttons
GuiCtrlCreateGroup("Character Selection", 200, 55, 180, 140)
$slot1 = GuiCtrlCreateRadio("Slot 1", 210, 75, 80, 20)
$slot2 = GuiCtrlCreateRadio("Slot 2", 300, 75, 75, 20)
;the if...then statements(probally doesnt work)
If $slot1 = true Then $x = 100, $y = 200
EndIf
If $slot2 = true Then $x = 300, $y = 400
EndIf
;what i want the variables that changed to effect.
MouseClick ("left", $x, $y, 1, 15)
(does what i said above make any sense?)