mIRC Homepage
Posted By: SuperMappy Message parameters - 26/08/04 05:17 AM
we all know the $1 refers to the first parameter of a line along with $2 for the second, but how could I recognise the last word in a line. I suspect it would have something to do with the $len or $right commands.
Posted By: Sigh Re: Message parameters - 26/08/04 06:32 AM
It's more to do with token identifiers you can use $gettok($1-,-1,32) or, knowing that $0 returns the total number of tokens in $1-, attach $ to the front of the value $0 returns and evaluate: $($ $+ $0,2)
© mIRC Discussion Forums