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 04-16-2002, 09:26 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
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"?
__________________
maximus_asinus
Reply With Quote
  #2  
Old 04-16-2002, 11:42 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
No, he just forgot the #s( in front of that client.hat stuff
Reply With Quote
  #3  
Old 04-16-2002, 11:49 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
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. :]
Reply With Quote
  #4  
Old 04-16-2002, 11:58 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
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
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #5  
Old 04-17-2002, 02:55 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
But he most likely is.
Reply With Quote
  #6  
Old 04-17-2002, 03:42 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
-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.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #7  
Old 04-17-2002, 04:59 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Ok, I just needed to know, I put it in wrong first time and it gave me an error :O
__________________
maximus_asinus
Reply With Quote
  #8  
Old 04-22-2002, 03:04 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
-FooL-

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

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #9  
Old 04-29-2002, 08:25 PM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
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
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
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:36 AM.


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