Project

General

Profile

Actions

Added in 1.9.0

$0

Returns number of tokens associated with current script.

See also /tokenize.

Example

on *:TEXT:*:*:Number of tokens in the incoming message is $0 first token is $1 all tokens is $1-

alias Example {
  ; Tokenize the string 'a,b,c,d.
  /tokenize 44 a,b,c,d

  ; Print number of tokens.
  echo -ag Number of tokens is $0
}

Updated by Per Amundsen about 9 years ago · 1 revisions

Also available in: PDF HTML TXT