Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:47 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.