player_funs.c
merentha_fluffos_v2/lib/sefun/player_funs.c · 240 B
From the archive merentha_fluffos_v2.zip
Download the archive « Back to the archive contents
string player_name(string name) {
return lower_case(replace_string(replace_string(name, "-", ""), "'", ""));
}
int player_exists(string name) {
name=player_name(name);
return file_exists("/save/users/"+name[0..0]+"/"+name+".o");
}