OK! first off what my goals is. Hit a button do the correct movements! Those movements are!
first off the Activator of choice would be CTRL+A for simplicity.
Now when CTRL+A is hit I want it to run a script.
This script needs to get two variables one being used in ifs
example.
cstance = GetVariable("cstance") -- stance
tar = GetVariable("tar"} -- Target
if cstance == nil then
Note (/DoCommand "change stance gyanis")
if cstance == "gyanis" or "Rizet"
Note (/DoCommand "Sitara lateral @tar/nsitara vertical @tar/Sitara lateral @tar")
if cstance == "ein-fasit"
Note (/DoCommand "Sitara vertical @tar/nSitara lateral @tar/nsitara vwerical @tar")
else
Note (/DoCommand "Stiara crescentcut @tar/nsitara lateral @tar/nsitara vertical @tar")
end
all the @tar instances is where the second variable would be inserted... if anyone could help me out with throwing it together I'd appreciated it
first off the Activator of choice would be CTRL+A for simplicity.
Now when CTRL+A is hit I want it to run a script.
This script needs to get two variables one being used in ifs
example.
cstance = GetVariable("cstance") -- stance
tar = GetVariable("tar"} -- Target
if cstance == nil then
Note (/DoCommand "change stance gyanis")
if cstance == "gyanis" or "Rizet"
Note (/DoCommand "Sitara lateral @tar/nsitara vertical @tar/Sitara lateral @tar")
if cstance == "ein-fasit"
Note (/DoCommand "Sitara vertical @tar/nSitara lateral @tar/nsitara vwerical @tar")
else
Note (/DoCommand "Stiara crescentcut @tar/nsitara lateral @tar/nsitara vertical @tar")
end
all the @tar instances is where the second variable would be inserted... if anyone could help me out with throwing it together I'd appreciated it