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

Trying to make a simple account program for testing purposes.

Started by WarriorDB, 15 June 2014 - 04:26 AM
WarriorDB #1
Posted 15 June 2014 - 06:26 AM
I'm doing a sort or little CC challenge minecraft version 1.6.4 and I'm testing out programs that may make a accounts. Don't know very much but the basics of cc. Here's my pastebin. http://pastebin.com/PrYiViMs For some reason it doesn't allow you to type in your username afterwards. Help?
WarriorDB #2
Posted 15 June 2014 - 07:05 AM
Anybody? Please?
Bomb Bloke #3
Posted 15 June 2014 - 08:31 AM
For some reason it doesn't allow you to type in your username afterwards.

After… what? After creating the account? If you want it to ask for the username twice, you've gotta tell it to ask twice. Computers do what their code tells them to - they don't assume - so if you don't provide specific instructions, you won't get your desired results.

If you are indeed intending to have two prompts for the username, remember to store the second one in a different variable to the first. Otherwise you've got no way of comparing the two different inputs.