$token was replaced by $gettok but it still works.

~ Edit ~
Taken from http://www.mirc.co.uk/versions.txt

-----------------------------------------

09/12/96 - mIRC v4.7

121.Added token handling identifiers:

$addtok(text,token,C) - adds a token to the end of text but only if it's not already in text.
$findtok(text,token,C) - returns Nth position of token in text
$gettok(text,N,C) - returns Nth token in text
$instok(text,token,N,C) - inserts token into Nth position in text even if it already exists in text.
$remtok(text,token,C) - removes 1 matching token from text
$reptok(text,token,new,C) - replaces 1 matching token with new token in text.

$gettok() replaces $token(), however $token() is still supported for this version.


-----------------------------------------

It says "still supported for this version" but $token is still working in v6.16

-----------------------------------------

30/06/96 - mIRC v4.5

48.New Identifiers:

$token(N,C,text) return Nth token separated by character C


-----------------------------------------

$token(N,C,text)
$token(1,32,this is a test) returns this

but I noticed that $token also works like $gettok

$token(text,N,C)
$token(this is a test,1,32) returns this

~ Edit ~
Well, upon testing the old $token format, it seems $token(N,C,text) no longer works
but when used in same format as $gettok(text,N,C) it works fine: $token(text,N,C)

Ok, I'm done rambling smile

Last edited by mIRCManiac; 17/05/05 02:38 AM.