Posted 04 February 2013 - 05:45 AM
I cant seam ti get this to work right.I have tried different things even the recommended method witch I'm using right now,
this is not the entire app, this is whats not working right, dose not mater whit I write it pulse up the help right away and if I write something else it just quits in staid of doing what it should
if input == "help" or "Help" then
print("Available commands are:")
print("left Moves the unit 16 blocks to the left")
print("right Moves the unit 16 blocks to the right")
print("fward Moves the unit 16 blocks fward")
print("revers Moves the unit 16 blocks in revers")
print("up Moves the unit up in the amount you indicate")
print("dig Dose exactly what it said Dig's")
local input = read()
elseif input == "left" or "Left" then
Move_Left()
elseif input == "right" or "Right" then
Move_Right()
elseif input == "up" or "Up" then
Move_Up()
elsif input == "revers" or "Revers" then
Move_Revers()
elseif input == "fward" or "Fward"then
Move_Fward()
elseif input == "dig" or "Dig" then
Dig()
end
this is not the entire app, this is whats not working right, dose not mater whit I write it pulse up the help right away and if I write something else it just quits in staid of doing what it should