Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-28-2002, 06:35 AM
RavenTelvecho RavenTelvecho is offline
Registered User
RavenTelvecho's Avatar
Join Date: Apr 2002
Location: Toronto, Ontario, Canada
Posts: 0
RavenTelvecho is on a distinguished road
Send a message via ICQ to RavenTelvecho Send a message via AIM to RavenTelvecho Send a message via Yahoo to RavenTelvecho
trimming

NPC Code:

if (playerchats&&isweapon) {
if (startswith(/setsay,#c)) {
tokenize #c;
}
if (strequals(#t(3),#s(petnick_this.id))) {
setstring petsay_#v(this.id),#T(#e(18,20,#c));
setplayerprop #c,;
}
}



if i say
/setsay for <PETNICK> <THE NICK HERE> it wont work but if i say
/setsay for <PETNICK><THE NICK HERE> it works
in the attachment
say
"/setsay for derek hi my name is derek"
then say
"/setsay for derekhi my name is derek"



see the prob?


yes i know it says isweapon its cause i took it from the script its from
__________________

^tuff newbie ;x
RavenTelvecho
!Booj
we are 'brothers'

Last edited by RavenTelvecho; 04-28-2002 at 09:18 AM..
Reply With Quote
 


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 08:08 AM.


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