To make a simple login for Computer Craft you need to use the text below:'clear')

done = true

while done == true do'clear')

 print ("Please enter your Username")

 input1 = read()

 print ("Please enter your Password")

 input2 = read()

 if input1 == "Enter a Username Here" and input2 == "Enter a Password Here" then

 print ("Welcome")

 done = false

 sleep (1)'clear')


 print ("Error")




Note:  You need to save the file as "startup" so it runs when you turn on your computer.  If you forget your password/username hold Ctrl + T for a few seconds and it will exit.

To log out of your computer you need to run the code below:"startup")

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.