Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("Hello World!")
- local x = 6
- local y = 6
- print("Variablex: "..x)
- print("variabley: "..y)
- if x>5 or y>5 then
- print("One Is Greater!")
- else
- print("Neither Is Greater!")
- end
- if x>5 then
- print("Greater!")
- --print("I said FIVE!")
- elseif x<5 then
- print("Lesser!")
- else
- print("Equal!")
- --print("I said NOT FIVE!")
- end
- print("We're done")
- if turtle.forward() then
- print("Moving Forward")
- else
- print("Stuck - MINING!")
- turtle.dig()
- turtle.forward()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement