Scripting Command Help!

I have always wanted to ask these questions:

  1. Does freezeplayer work online?

  2. What does tokenize do?

Thank you!

[QUOTE=Thomas;104255]
I have always wanted to ask these questions:

  1. Does freezeplayer work online?

[/QUOTE]

Sure does!

[QUOTE=Thomas;104255]

  1. What does tokenize do?

[/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 :smiley: