from the help file:
;-------------------------------------------
$gettok(text,N,C)
Returns the Nth token in text.
$gettok(a.b.c.d.e,3,46) returns c
$gettok(a.b.c.d.e,9,46) returns $null
You can also specify a range of tokens:
$gettok(a.b.c.d.e,2-,46) returns 2nd token onwards b.c.d.e
$gettok(a.b.c.d.e,2-4,46) returns tokens 2 through 4 b.c.d
You can specify a negative value for N.
;------------------------------------------
I dont understand how it working from that, then i have been reading from:
http://www.mircscripts.org/archive.php?s...&perpage=50 And i still dont understand exactly what it does, and after been reading there i asked on #help.script @ quakenet, and they said "read tutorials", and i can't say i found any tutorials out there that explains it so i understand. The one that explained it best was Teazle with the snippets $gettok2. Instead of flame me, why not point out a good tutorial/snippets if you know about any.