As most of you would of noticed (probably) the playerlist subheadings have changed from eg "Admins" to "--- Staff ---".
Now if you are like me and don't like the change you may use this script on your server.
PHP Code:
//#CLIENTSIDE
function onCreated(){
//Defines the names to replace.
//If you are going to change it it works like this:
// "before name", "after name".
temp.replace = {
{"--- Staff ---", "Staff"},
{"--- Buddies ---", "Buddies"},
{"--- Guild ---", "Guild"},
{"--- Players ---", "Players"},
{"--- Ignore ---", "Ignore"},
{"--- Offline ---", "Offline"},
};
//Sleeps for two seconds so when the actual
//player list script is initialized it doesn't replace
//what we are going to change; with what it wants.
sleep(2);
//Loops through all the names to replace and replaces them.
for(temp.i = 0; temp.i < replace.size(); temp.i ++){
temp.r = PlayerList_List.findtext(replace[i][0]);
PlayerList_List.rows[temp.r].text = replace[i][1];
}
//Focuses on the playerlist then graal to make the changes
//come into effect.
PlayerList_List.MakeFirstResponder(true);
GraalControl.MakeFirstResponder(true);
}