Page 1 of 1

Rename contacts possible??

Posted: Sun Nov 27, 2005 15:25 pm
by Prelim
can i rename contact names before the mail adress???

ex: 3cpoxpto «blabla@hotmail.com» to....... Jonhy School «blabla@hotmail.com»

i used trillian for a long time and i can rename all the contacts i want

please fix this, its very important to help people indentify their own contacts

thanks :wink:

Posted: Mon Nov 28, 2005 21:38 pm
by andyc
It's possible - yes.

I'll try my best to get it implemented, it's not the most simple thing ever. :)

well?

Posted: Tue Jan 31, 2006 21:51 pm
by LazyBons
since its been few years. just curius. did you implement it? so far its the only thing i miss about msn for mirc;>

Posted: Wed Feb 01, 2006 9:42 am
by LazyBons
well...since you didnt answer me, i hope you dont mind and i took the liberty to add the renaming of nicks myself, altho so far it only works on start, but that is gonna be fixed soon. so if you like, i can share the code and/or explain how i did it;>

Posted: Wed Feb 01, 2006 12:18 pm
by andyc
Sorry I've not got round to it yet.

Feel free to share the code for renaming contacts on here - I encourage people to share their code addons and changes.

Posted: Wed Feb 01, 2006 12:28 pm
by LazyBons
alias renamenick {
.fopen rennicks msn/nicki.txt
while ( !$feof ) {
set %tempinfo $fread(rennicks)
set %tempmail $left( %tempinfo, $pos( %tempinfo , $chr(32) , 1 ) )
set %tempnick $right( %tempinfo,$calc( $len( %tempinfo )-$pos( %tempinfo , $chr(32) , 1 ) ) )
if ( %msn.tempmail == %tempmail ) { set %msn.nick %tempnick }
}
.fclose rennicks
}

you need a file nicki.txt in the format as
<email of user> <new nick for display>
and one in each line.

and you can call that before you output online users to the "nicklist".

not complete yet, still fixing some bugs, still trying to find all the places where the "nicklist" gets changed, renamed, whatever..;)