mIRC Home    About    Download    Register    News    Help

Print Thread
#45662 31/08/03 10:01 AM
Joined: Jul 2003
Posts: 8
C
chozen Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Jul 2003
Posts: 8
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


i take my spite out on you
#45663 31/08/03 10:14 AM
Joined: Dec 2002
Posts: 339
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
Check out this... http://helpdesk.zaz.net/documents/FAQ/index.php?nc

And use tokens... smile

#45664 31/08/03 02:13 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
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).


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#45665 31/08/03 03:31 PM
Joined: Dec 2002
Posts: 339
F
Fjord artisan
Offline
Fjord artisan
F
Joined: Dec 2002
Posts: 339
Ohh yes I'm sorry my mistake...

#45666 01/09/03 07:53 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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.

Last edited by KingTomato; 01/09/03 07:54 PM.

-KingTomato

Link Copied to Clipboard