A token is a segment of a given string. You need to specify what the string is (i.e. a sentence), what token you want to manipulate, and what character number (ASCII number) the characters are separated by. For example:
//echo -a $gettok(
quick brown fox,
3,
32) will return 'fox'.
quick brown fox is the string.
3 is telling mIRC you want to GET the third TOKEN (gettok) and
32 is the ASCII number for a space - the tokens are separated by a space.
OR
//echo -a $gettok(
apples.pears.milk,
2,
46) will return 'pears' because the
2 means the second token, and the tokens are separated by ASCII character
46 (a period).
More examples/explanations can be found in
this tutorial as not all token identifiers are as simple as that.
/help Tokens is also a reference. You can also find a list of ASCII characters and their associated character numbers at
http://www.mirc.net/ascii.php which may be useful.
Regards,