Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   variable in a strequals (https://forums.graalonline.com/forums/showthread.php?t=27583)

darkriders_p2p 04-16-2002 09:26 AM

variable in a strequals
 
Is it possible to make something like:
NPC Code:
if (strequals(client.hat#v(i)),yadda)) 


It gives me the error notice thing.Can you do it so, with "i"?

Loriel 04-16-2002 11:42 PM

No, he just forgot the #s( in front of that client.hat stuff

Slaktmaster 04-16-2002 11:49 PM

Quote:

Originally posted by Loriel
No, he just forgot the #s( in front of that client.hat stuff
And he has one to much closing bracket. :]

mhermher 04-16-2002 11:58 PM

Quote:

Originally posted by Slaktmaster

And he has one to much closing bracket. :]

Nope

if (strequals(client.hat#v(i)),yadda)) + #s( = if (strequals(#s(client.hat#v(i)),yadda))

Total:
( = 4
) = 4

Loriel 04-17-2002 02:55 AM

But he most likely is.

Saga2001 04-17-2002 03:42 AM

-FooL-

strequals(client.hat#v(i)),

Do I HAVE to point that out?

Let me point it out...

He's closing the strequals before comparing it to something.

darkriders_p2p 04-17-2002 04:59 AM

Ok, I just needed to know, I put it in wrong first time and it gave me an error :O

Saga2001 04-22-2002 03:04 AM

-FooL-

*points at Loriel, sticks out tongue, ownz, goes away*

emortylone 04-29-2002 08:25 PM

Ah, so i finally see the one called Loriel, heh. Nice to meet you. I think this one has been done REPEATEDLY in this thread, LOL. It is clear that he did NOT specify that he wanted to use that string. It also seems that he closed the command before he added the rest of it. Therefore he placed the ) in the wrong place? L8er
---Shifter
LET ME SLEEP ! HEH


All times are GMT +2. The time now is 02:36 AM.

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