Code: [Select all] [Download] GeSHi © Codebox Plus

if choice = left

f__move("left")

if choice = right

f__move("right")

if choice = up

f__move("up")

if choice = down

f__move("down")

because AHK does not have a possibility to have 2 commands on one line, i'm thinking about using ternary operator to run a function