Posted 12 January 2013 - 12:48 PM
Just need some help with this code!
It says on line 31 it's expecting '=' but i can't understand why?
Heres the code:
Thank you very much, really appreciate it!! :D/>
It says on line 31 it's expecting '=' but i can't understand why?
Heres the code:
local clear = "clear"
local mbpro = 15
term.clear()
term.setCursorPos(1,1)
print("Genius Help")
print("Waiting for entry:")
function displaymsg()
if id == mbpro then
print("Help needed at: MacBook Pro ("..id..")")
print("Type clear to clear: ")
write(">")
input = read()
if input ~= clear then
print("Hmm, that wasn't one of the options!")
sleep(2)
displaymsg()
end
end
end
rednet.open("right")
id, msg = rednet.receive()
rednet.close
displaymsg()
os.reboot()
Thank you very much, really appreciate it!! :D/>