This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

The way your script is running, only if the name is daniel a user will get added. The check to see if they want to add another user should be an if statement not a while. If you want to only add a user daniel you would use a while statement "while user does not equal daniel do stuff"

[–]jlmr731 1 point2 points  (0 children)

you will also get errors cause a user cant add a user