Hey I just finished my script last night what it does is it changes your ap, name and guild for some reason was not working so yeah everything is explained in the code.
PHP Code:
/*Made by Noof.(Noofboy12 era-go)
I reccomend to veiw this in a NPC weapon so its more appealing to read.
What was the purpose of this?
It's a perfect start to any server that does not have the basic commands this is good for quick name changing and ap chaning, also showname is not 
always that unique its more mainstream, and with mine it actually tells you your name in your chat, this is done on client side so only you will see it :) ,
I will be adding more and updating this as I go,
When you add this to your server make sure to keep this and give me creidt, also use the command "/help" To learn about all the commads,

Thank you, and Calin I hope you like this man, bye
*/

function onActionServerside(temp.commandtemp.variable) {
if(
temp.command == "updateAp") {
player.chat "" ;
player.ap temp.variable;
}

if(
temp.command == "updateName") {
player.nick temp.variable;
player.chat ""
 }
}

//#CLIENTSIDE
function onCreated() {
  
playerChats();
 }

function 
onPlayerChats() {
 if(
player.chat.starts("/ap")) {
  
temp.ap player.chat.substring(3).trim();
  
triggerserver("gui"this.name"updateAp"temp.ap);
  }
 else if(
player.chat.starts("/nick")) {
  
temp.newname player.chat.substring(5).trim();
  
triggerserver("gui"this.name"updateName"temp.newname);
  }
 else if(
player.chat.starts("/gang")) {
  
temp.gang player.chat.substring(5).trim();
   
player.guild temp.gang;
  }
  
/* Start of Q&A -Noof. */
 
if(player.chat == "/myap") {
  
player.chat player.ap;
} else if(
player.chat == "/mynick") {
  
player.chat player.nick;
}
  
temp.GUI false;
 if(
player.chat == "/help") {
  
temp.GUI true;
 if(
temp.GUI) {
  new 
GuiWindowCtrl("mywindowcontrol") { 
  
profile "GuiBlueWindowProfile"
  
10
  
253;  
  
width 400
  
height 234
  
text "Commands";
  new 
GuiTextCtrl("Test_Text") {
  
profile GuiBlueTextProfile;
  
10;
  
30;
  
height 20;
  
text "Here you will find everything you need to use my commands!";

new 
GuiMLTextCtrl("Test_MultiLineText") {
  
profile GuiBlueMLTextProfile;
  
10;
  
60;
  
width 400;
  
height 60;
  
text "<font size=12><i>Set Ap = '/ap #'<br>Set Name = '/nick ex: Noof.'<br>Check your ap = '/myap'<br>Check your name = '/mynick'<br>Calin this is for you sir<br>So what if I dont want people to see my type in my ap and name?<br> Do not worry I got that coverd it will remove your char right after you click enter
  </i></font>"
;
      }
    }
  }  
 }

Tell me what you think, bye