I have always wanted to ask these questions:
-
Does freezeplayer work online?
-
What does tokenize do?
Thank you!
I have always wanted to ask these questions:
Does freezeplayer work online?
What does tokenize do?
Thank you!
[QUOTE=Thomas;104255]
I have always wanted to ask these questions:
[/QUOTE]
Sure does!
[QUOTE=Thomas;104255]
[/QUOTE]
It breaks the given string into seperate strings.
For example:
tokenize one,two,three;
This will produce 3 tokens. You read these using #t(0)…#t(tokenscount-1)
A good way to see how it behaves is by using this code:
setstring this.example,one,dog,cat,moon;
tokenize #s(this.example);
for (this.t = 0; this.t < tokenscount; this.t++){
message #t(this.t);
sleep 1;
}
By default, you can see that it’s comma & space delimited, if you wanted to delimit(seperate elements) using another character, you can use tokenize2
Thank you so much trixcta!! it really helped now i can continue my scripting journey