View Single Post
  #1  
Old 05-06-2005, 04:07 PM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Attributes Finder

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);

__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote