Posted 25 October 2012 - 03:56 AM
So, I don't know where this magical end needs to be. All if and else statements are closed at the end. Anyhow,
Thanks for any help given!
help = "Acceptable inputs are Pumpkin Farm, Farms, Portal and factory"
while true do
term.clear()
term.setCursorPos(1,1)
print("Where would you like to go?")
input = read()
if input == "Pumpkin Farm" then
rs.setBundledOutput("back", 1)
sleep(30)
else if input == "Farms" then
rs.setBundledOutput("back", 3)
sleep(30)
else if input == "Portal" then
rs.setBundledOutput("back", 7)
sleep(35)
else if input == "Factory" then
rs.setBundledOutput("back", 15)
sleep(40)
else
print(help)
sleep(5)
end
end
Thanks for any help given!