This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Murler's profile picture

Unable to program startup.

Started by Murler, 06 January 2013 - 11:10 AM
Murler #1
Posted 06 January 2013 - 12:10 PM
Why am I doing wrong here because I try to make it run a new program and it won't give me a error but at the same time it won't run the program.

Os.pullevent = os.pulleventraw
Pass = "not telling :)/>"
Print ("welcome user!")
Write "password:"
Input = read("*")
If input = pass then
Print ("Welcome user!")
Sleep(1)
Call = warningStartup <– where it fails
Else
Print ("access denied!")
Sleep(2)
Os.reboot()
End
zekesonxx #2
Posted 06 January 2013 - 12:18 PM
You are capitalizing everything.

Just take out the sleep(1) and the call = warningStartup.