When I say Activate ability [1..3]
Set small int (condition) [ability] value to the value of [[1..3]]
Begin Small Integer Compare : [Ability] Equals 1
Press 1 key and hold for 0.1 seconds and release
Else If Small Integer Compare : [Ability] Equals 2
Press 2 key and hold for 0.1 seconds and release
Else If Small Integer Compare : [Ability] Equals 3
Press 3 key and hold for 0.1 seconds and release
End Condition
I don't know how to explain this, but I hope the code I posted explains it well, a basic ability activation script
How do I properly use the if commands and variables?