The only think that buged me was when a user logon, he comes up two times on the list, when he log off the server only remove one of the name on the list, and when he logon agian the server adds two new names.
It just keep stacking up till he gets the message that the user is already in use.
I discoverd that it had something to do whit Userlist.txt that keep on remebering the names and keep typeing them in when a user logon. I could even type in a random word and it pop up:P
So i removed this part from the code and the problem disappeard:)
fileappend, %recievedx1%`n, Settings\userlist.txt fileread, userlist, Settings\userlist.txt
Donno if it was the right move since im still a new student at programing, but hope you can look in to it:)