Hey everybody,
I need help! I have a chat on my website, wich is very simple and, you can choose the name you want. Now, I don’t wan’t people hanging around and calling themselves “Admin”, or “Moderator”… So I had an idea: I would need a script, that creates a random number/name, that would look something like this:
[QUOTE]
visitor01, visitor015…
Now, thats easy and I know how to do that, but I want it so that:
Ex: If the Ip adress is 000.00.00.00 , then the visitor name is visitor24 AND CREATES A COOKIE or something so that then on, that ip adress will be called visitor24.
I think it would also be usefull if the script wrote the names (visitor00…) in a file and would check if the random name doesn’t allready exist so trhat two people aren’t called the same.
I hope someonecan help me,
Thanks
Fire Cat