mIRC Homepage
Posted By: sparta strip out text - 27/12/06 04:19 PM
I want to strip out the nick from this:

nick!~ident@host.com

can also look like:

nick!ident@host.com

the problem is that the nick can be from 1 to 20 in lenght, so $right(text,N)shouldent work, the N value are unknown for me.. and i grab the info i need with $3 ..
Posted By: Sais Re: strip out text - 27/12/06 05:04 PM
If it's already in the ial, then $ial().nick

else something like: $gettok(<addr>,1,$asc(!))
Posted By: sparta Re: strip out text - 27/12/06 05:16 PM
$gettok($3,1,$asc(!)) worked as i wanted smile thnx
© mIRC Discussion Forums