mIRC Homepage
Posted By: chozen Nick Completor - 31/08/03 10:01 AM
i have made a nick completor but i'm curious of how people can make nick completors that return the persons nickname in the format below;

Chozen
Posted By: FunChatter Re: Nick Completor - 31/08/03 10:14 AM
Check out this... http://helpdesk.zaz.net/documents/FAQ/index.php?nc

And use tokens... smile
Posted By: LocutusofBorg Re: Nick Completor - 31/08/03 02:13 PM
Actually I have never seen a nick completer work with tokens. Since nicks generally consist of a single word, tokens are useless since there is no token separator present.

To use several colors in one nick, you will need to work with $mid (and optionally: $left and $right).
Posted By: FunChatter Re: Nick Completor - 31/08/03 03:31 PM
Ohh yes I'm sorry my mistake...
Posted By: KingTomato Re: Nick Completor - 01/09/03 07:53 PM
alias ncolor {
var %color1 = <ctrl+k+number>, %color2 = <ctrl+k+number>
return $+(%color1,$left(%a, 1),%color2,$right(%a,-1),)
}

EDIT:
Usage: $ncolor(Nickname)

Change the %color1 and %color2 variables. Make sure to inclue the ctrl+k character.
© mIRC Discussion Forums