Thanks for your reply
I read (fast) through the manual, I missed it completely the first time. I'm rewriting a bunch of commands now
I got a warning about many commands, so I reduced the number a lot. I used [1..10;1..10,10;1..10,100] instead.
I have on problem
My command: "Axis [left;right;up;down] [1..10;]"
So I can say "Axis right 1" and a loop moves the direction right key 1 time.
But when I try to say "Axis left" it doesn't work even though I've created an If block that sets the loop counter to 1 when the number wasn't stated ({CMDSEGMENT:2} Has not been set).
Here is my code, help is greatly appreciated
axis [left;right;up;down] [1..10;1..10,10;]
Set Text [direction] to '{CMDSEGMENT:1}'
Begin Text Compare : [{CMDSEGMENT:2}] Has Not Been Set
Set integer [number] value to 1
Else
Set integer [number] value to the converted value of {CMDSEGMENT:2}
End Condition
Begin Text Compare : [direction] Equals 'left'
Start Loop : Repeat [number] Times
Press Left key and hold for 0,1 seconds and release
Pause 0,05 seconds
End Loop
Else If Text Compare : [direction] Equals 'right'
Start Loop : Repeat [number] Times
Press Right key and hold for 0,1 seconds and release
Pause 0,05 seconds
End Loop
Else If Text Compare : [direction] Equals 'up'
Start Loop : Repeat [number] Times
Press Up key and hold for 0,1 seconds and release
Pause 0,05 seconds
End Loop
Else If Text Compare : [direction] Equals 'down'
Start Loop : Repeat [number] Times
Press Down key and hold for 0,1 seconds and release
Pause 0,05 seconds
End Loop
End Condition