Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-21-2002, 04:18 AM
Scaramanga_gold Scaramanga_gold is offline
Registered User
Join Date: Feb 2002
Posts: 4
Scaramanga_gold is on a distinguished road
Question Help me please

strequals(#c,string) doesn't work anymore. is there a new command to check what the player says?
also, can you please explain what does the NPC server mean?
Reply With Quote
  #2  
Old 03-21-2002, 04:25 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
lol

if(Playerchats&&strequals(#c,string)){

__________________

Check out the development at:
http://razza.org/lordhelmut/FantasyTales/index
Reply With Quote
  #3  
Old 03-21-2002, 04:29 AM
Scaramanga_gold Scaramanga_gold is offline
Registered User
Join Date: Feb 2002
Posts: 4
Scaramanga_gold is on a distinguished road
nope..
doesn't work.

if(Playerchats&&strequals(#c,hi)){
message bla;
}
Reply With Quote
  #4  
Old 03-21-2002, 06:24 AM
Dustey Dustey is offline
Registered User
Join Date: Nov 2001
Location: Do You Think I Know?
Posts: 193
Dustey is on a distinguished road
Send a message via AIM to Dustey
lets just say if that dont work..... houston we have a problem. its works fine for me
__________________
And Yes I work For.... Renegade
Reply With Quote
  #5  
Old 03-22-2002, 06:41 PM
Scaramanga_gold Scaramanga_gold is offline
Registered User
Join Date: Feb 2002
Posts: 4
Scaramanga_gold is on a distinguished road
Unhappy

Im not lying, it really doesn't work. just since the new version.
here are some pics:
(sorry 56kers)






also, can you please explain what does the NPC server mean? (p2p/not p2p)
Reply With Quote
  #6  
Old 03-22-2002, 07:54 PM
BARGAD BARGAD is offline
Registered User
Join Date: Aug 2001
Location: Sweden
Posts: 345
BARGAD will become famous soon enough
Quote:
Originally posted by Scaramanga_gold
Im not lying, it really doesn't work. just since the new version.
here are some pics:
(sorry 56kers)

also, can you please explain what does the NPC server mean? (p2p/not p2p)
I am not a good scripter... but maybe use if (playerchats&&strequals(#c,Hi)){

instead of
if (Playerchats&&strequals(#c,Hi)){

Could work O.o!
__________________
Gori

Born To Kill
Death Silent Killers

Two little newbies, out in the sun.
Then came Gori and there was only one.

Reply With Quote
  #7  
Old 03-22-2002, 09:28 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
okay



first off, delete everything out of that npc

then put this

NPC Code:

if (playerchats&&strequals(#c,hi)) {
message bla;
}

__________________
[signature]insert here[/signature]

Last edited by screen_name; 03-23-2002 at 01:37 AM..
Reply With Quote
Reply


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 01:38 PM.


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