and i forget to tell u about $gettok(%cnicks,1--2,32) that dont work for any version of mIRC
Oh? Try it.
//echo -a $gettok(This is just some random sentence to use as an example.,1--2,32)
That outputs word 1 through the second word from the end (an) as expected (mirc 6.35).