Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   this(or not).string question (https://forums.graalonline.com/forums/showthread.php?t=37812)

Googi 09-12-2002 05:30 AM

this(or not).string question
 
If I replaced this in a this.string with something else (say...that.string), would I be able to have a script only recognize the that.strings?

(P.S. This is for strings set using setstring)

Falcor 09-12-2002 05:48 AM

Re: this(or not).string question
 
Quote:

Originally posted by Googi
If I replaced this in a this.string with something else (say...that.string), would I be able to have a script only recognize the that.strings?

(P.S. This is for strings set using setstring)

no

Goboom 09-12-2002 06:34 AM

Re: Re: this(or not).string question
 
Quote:

Originally posted by Falcor

no


Falcor 09-12-2002 06:41 AM

We don't need reiderations (sp?), once is enough.

Googi 09-12-2002 08:20 AM

***aghagygh, Okay, thanks.

Gah, now I gotta do this thi long way XD

emortylone 09-13-2002 12:52 AM

What do you need to use it for? I’ve used setstring this.#a,#p(0); before for a notification script. And it checks this.#a to see if it has a value, and then it sends a message to all the tokens (after it’s tokenized) so you could do it that way. Or you could make it like:
Setstring this.string#v(this.var),value;
That way it would do it, and you could call it and such. No reason for a that.string anyway =/
---Shifter

Googi 09-13-2002 05:42 AM

That wouldn't work, since it was going to be a list of 100 or so "items"

R0b1n-NPC 09-13-2002 06:14 AM

*cough*
String Array
*cough*

emortylone 09-13-2002 10:46 AM

*rolls* That is another option if it's going to be huge. There isn't a reason though you can't use a string array, or if you're a noobie ;) use setstring this.string#v(this.var),value; instead :P but I don't use string arrays unless I need to keep track of data more and for a larger quantity.
---Shifter

Googi 09-14-2002 04:38 AM

You can't keep string arrays seperate from other string arrays though.

Graal2001_NAT 09-14-2002 04:40 AM

Quote:

Originally posted by emortylone
*rolls*
---Shifter

@_@ *imagines someone rolling around on the floor by the computer*


and googi, what are you talking about =x? its called using different string names?

emortylone 09-14-2002 11:15 AM

I think I'm liking Jagen a bit more each day :D EXACTLY, you CAN keep them different x.X =/
---Shifter

Googi 09-14-2002 08:29 PM

I mean keeping a group of string arrays seperate from every other string array.

Not keeping a single string seperate.

R0b1n-NPC 09-14-2002 08:32 PM

setstring this.stringarray1,googi,stfu,:P;
setstring this.stringarray2,You,can,keep,them,seperate;
setstring this.stringarray3,If,you,cant,then,you,are,dumb,:P ;

Googi 09-14-2002 09:02 PM

Quote:

Originally posted by R0b1n-NPC
setstring this.stringarray1,googi,stfu,:P;
setstring this.stringarray2,You,can,keep,them,seperate;
setstring this.stringarray3,If,you,cant,then,you,are,dumb,:P ;

:-\

That's what I meant by "the long way"

Falcor 09-14-2002 09:38 PM

Googi, what color is the sky in your world?

emortylone 09-15-2002 12:52 AM

more of like, what are you SMOKING?! Dude, that was the easiest way to do it and you said 'long way' dude, that is the freaking SHORT way x.X!
---Shifter

Googi 09-16-2002 01:16 AM

Quote:

Originally posted by emortylone
more of like, what are you SMOKING?! Dude, that was the easiest way to do it and you said 'long way' dude, that is the freaking SHORT way x.X!
---Shifter

If there was a way to make seperate groups by placing something other then this. before a string, that would be a shorter way.

Quote:

Originally posted by Kaimetsu
What exactly are you doing, Googi?
I can't say, cause someone would steal my idea, I know this because it's an idea I "stole" myself. (Someone was trying to make it, but quit before they finished.)

R0b1n-NPC 09-16-2002 02:00 AM

someone make googi stfu before i go this.mode=3;

emortylone 09-16-2002 08:51 AM

*rolls* Good old predefine character attack mode ;) Googi, for god's sake, stop talking b/4 you kill us all x.X! Setting this.strings is different than setting client flags x.X. My god =/
And no one would steal your ide

Googi 09-17-2002 04:52 AM

Yes, they would steal it, because it is very kickass, and like I said, I "partially" stole it myself.

Torankusu 09-17-2002 04:53 AM

Quote:

Originally posted by Googi
Yes, they would steal it, because it is very kickass, and like I said, I "partially" stole it myself.
asking for help and not describing what you're trying to do isn't very good.

emortylone 09-17-2002 11:26 PM

Ah, you can't expect me to help you out when I don't know what you're donig. I won't help you, nor will Kai, Jagen, R0bin, Riot, or any other scripters who have a chance at helping you. I was asked about setting up RC's and such, and I refused to help until they told me what was going on, then I ended up w/ RC on that Private Server, lolz. Why be a pat of something and help out when you don't get the curtosy of being told what you're helping out with?!
---Shifter

R0b1n-NPC 09-18-2002 12:44 AM

Quote:

Originally posted by Googi
Yes, they would steal it, because it is very kickass, and like I said, I "partially" stole it myself.
stealing is ebil.

emortylone 09-18-2002 11:27 PM

You're SO full of it. NO ONE here should steal it, and the idea would be known as yours, so it wouldn't do anyone good ANYWAY to make it x.X
---Shifter


All times are GMT +2. The time now is 05:23 PM.

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