mIRC Homepage
Posted By: SLiprockS need simple help - 10/11/08 08:00 PM
suppose this is the nick "ASDADF123134123"
i just wanna get the nick as per my requirement like i wanna remove 5 character and set it. so it would be like "ASDADF1231"
so what would be the exact code to get this.
set %bla $remove or $gettok or $right please advice.

thanks
Posted By: 5618 Re: need simple help - 10/11/08 08:50 PM
That would be

$left($nick,-5)
Posted By: Tomao Re: need simple help - 10/11/08 10:01 PM
If it's for a certain nick that you want to remove some strings from, you can use the $remove identifier:

Code:
//echo -a $remove(ASDADF123134123,34123)
© mIRC Discussion Forums