Well, I was kinda bored so I figured I'd post a fun NPC that anybody can feel free to use, as long as you dont take out the credit to me.
Take note that this is in GS2, I will post a GS1 version later.
PHP Code:
//Made by Vash-Aniki(*coreys)
function onserverside() {
if (strequals(params[0],attribs)) {
with (getplayer(params[1])) {
body = player.body;
head = player.head;
sword = player.sword;
shield = player.shield;
acct = player.account;
}
}
}
//#CLIENTSIDE
if (playerchats&&startswith(getattribs,player.chat)) {
tokenize player.chat;
triggeraction(0,0,serverside,Attributes Finder,attribs,tokens[1]);
say2 ("Attributes of "@acct#b"Head:"@head#b"Body:"@body#b"Sword:"@sword#b"Shield:"@shield);
}