Project

General

Profile

$0 » History » Version 1

Per Amundsen, 08/14/2015 02:21 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$0*
4
5
Returns number of tokens associated with current script.
6
7
_See also [[/tokenize]]._
8
9
*Example*
10
11
<pre>
12
on *:TEXT:*:*:Number of tokens in the incoming message is $0 first token is $1 all tokens is $1-
13
14
alias Example {
15
  ; Tokenize the string 'a,b,c,d.
16
  /tokenize 44 a,b,c,d
17
18
  ; Print number of tokens.
19
  echo -ag Number of tokens is $0
20
}
21
</pre>