Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Help me please (https://forums.graalonline.com/forums/showthread.php?t=26016)

Scaramanga_gold 03-21-2002 04:18 AM

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?

lordhelmut 03-21-2002 04:25 AM

lol

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

:p

Scaramanga_gold 03-21-2002 04:29 AM

nope..
doesn't work.

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

Dustey 03-21-2002 06:24 AM

lets just say if that dont work..... houston we have a problem.:D its works fine for me

Scaramanga_gold 03-22-2002 06:41 PM

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

http://sg2k.homestead.com/files/doesntwork1.GIF

http://sg2k.homestead.com/files/doesntwork2.GIF


also, can you please explain what does the NPC server mean? (p2p/not p2p)

BARGAD 03-22-2002 07:54 PM

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!

screen_name 03-22-2002 09:28 PM

okay



first off, delete everything out of that npc

then put this

NPC Code:

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



All times are GMT +2. The time now is 08:14 AM.

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