Hey guys, so my question is pretty simple, I just want to press two keys to do a certain action.
Ex:
Primary Code
// This line is necessary to select the proper window
SetActiveWindow Asheron's Call
ClearGlobalKeys
While 1=1
Delay 500
If {globalkeys} contains 065 // "A" key
ClearGlobalKeys
Keys WORKED !!!!!!!!!
end
end
//Pressing key "A" appears "WORKED"
As i would like
// This line is necessary to select the proper window
SetActiveWindow Asheron's Call
ClearGlobalKeys
While 1=1
Delay 500
If {globalkeys} contains 065 + 066 // "A" + "B" key
ClearGlobalKeys
Keys WORKED !!!!!!!!!
end
end
//Pressing key "A" + "B" appears "WORKED"
EDIT by The WABBIT: Moved the Topic to the proper forum to ask the question. And edited the topic to remove the Color from the code for our Sight challenged members to read it. Placed the code within code blocks with no syntax highlighting.