Posted 10 November 2017 - 12:47 AM
I'm working on a modded adventure map, and the player will carry a pocket computer throughout for entering various codes they can obtain to access different programs.
The program works fine when started normally, but will not autostart. It throws the below error:
Thanks!
(By the way, this is my first post- if i'm doing anything wrong, please tell me!)
The program works fine when started normally, but will not autostart. It throws the below error:
function start()
while true do
term.clear()
term.setCursorPos(1, 1)
print("Neo OS v. 20.3.4")
print("Info: NeoOS is a specialized OS that can be suited to corporations. NeoOS can do anything. Its diffrent functions can be activated based on different codes which can be shared on a need-to-know basis.")
print("Input a code to activate a function.")
input = read("*")
if input == "codetest" then
print("code is working")
end
end
end
start()
If it helps any, my startup file is set to just use pastebin run for easy updating purposes.Thanks!
(By the way, this is my first post- if i'm doing anything wrong, please tell me!)