Thread: trimming
View Single Post
  #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