ID:269821
 
How do I prevent a user from having a null name/password or having just spaces as a name/password?
add soemthing like this to your name system:

if(src.name == null)
src << "Your name is not acceptable."


Use the same thing for your password, just change name to password...
In response to Bobthehobo
THat's what I currently use, but the null argument is the same as using "" in this case, which lets them use spaces as a loophole.
In response to Clark Kent
if (!ckey(name))
In response to Critical Productions
Thanks. That did it
In response to Clark Kent
Anytime