AutoCorrect(name[]){ new i = 1; name[0] = toupper(name[0]); while(name[i]) { name[i] = tolower(name[i]); i++; } if((i = strfind(name,"_",true,2)) != -1 && name[i+1] != 0) name[i+1] = toupper(name[i+1]); return name;}
new Nick[25];GetPlayerName(playerid,Nick,25);AutoCorrect(Nick);