ID:139329
 
Code:
            if(fexists("players/[src.key].sav"))
var/savefile/F = new("players/[src.key].sav")
Read(F)
if(src.SAVEDusername==SAVEDusername)
alert("This username is already in use.")
return
else
alert("Username Available")


Problem description:
I'd like to make it so people can't use a Username already in use by someone else,tough i don't know how i could make it search for ALL Savefiles and not only one player's save.
Thanks in advance.

Whats going on now with this piece of code is: it only disables ME from not using the username i registered with eariler...

Why wont you just make a list upon name-choosing. Then when the player chose their name, add it to that list and check if the name is already in use by checking the list.