aMSN Forums
November 26, 2014, 01:21:03 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1] 2 3 ... 12
  Print  
Author Topic: ColoredNicks plugin  (Read 164519 times)
square87
Super Power User
**
Offline Offline

Posts: 427


View Profile
« on: March 26, 2007, 12:43:57 pm »

Hello.
ColoredNicks allow to see colored nicks in contact list as msn (live) plus does.

To use ColoredNicks you have to use aMSN svn -r8288 or later (0.97 RC 1).

This plugin is on in.solit.us if that server is down wait until it returns up. Thanks.
You can download it from: http://in.solit.us/archives/show/88829 (version 0.3.1) (aMSN -r9080)

Background style doesn't work (for the moment, i hope...).

Media are not parsed.

EDIT: update the link at the version 0.3.1
Logged
Fabioamd87
Super Power User
**
Offline Offline

Posts: 467



View Profile
« Reply #1 on: March 26, 2007, 08:02:33 pm »

wow, it works! Many tanks!
Logged
snipe2004
Super Power User
**
Offline Offline

Posts: 827


View Profile
« Reply #2 on: March 27, 2007, 02:51:39 pm »

Yes great!!
Logged

Voyager 11.10
Phil
Administrator
Super Power User
*****
Offline Offline

Posts: 653


View Profile
« Reply #3 on: March 28, 2007, 09:27:16 pm »

Will need an update to work with r8325 : square87 should receive my mail with the changes...
Logged

Phil

AMsn is great, and it will be greater :wink:
square87
Super Power User
**
Offline Offline

Posts: 427


View Profile
« Reply #4 on: March 29, 2007, 07:28:08 am »

Hi Phil.
Yes, I received your email. This evening or tomorrow i'll release a new version that will have various improvements.
Thank you Phil.
Bye.
Logged
square87
Super Power User
**
Offline Offline

Posts: 427


View Profile
« Reply #5 on: March 29, 2007, 08:22:18 pm »

Hi.

This is version 0.2: http://in.solit.us/archives/download/18052

Why 0.2 and not 0.1.1?
First of all because there is a new system that checks if, for example, [/b] is a code or is a text.
Code in uppercase now works: [/B], , etc...
Psm is parsed too. (thanks to Phil)

Now strange nicks work well, for example:
01234567890
0
1234567890
etc...
Logged
Fabioamd87
Super Power User
**
Offline Offline

Posts: 467



View Profile
« Reply #6 on: March 29, 2007, 08:38:00 pm »

is possibile to color also nicks in the login notification box?
Logged
square87
Super Power User
**
Offline Offline

Posts: 427


View Profile
« Reply #7 on: March 29, 2007, 08:50:42 pm »

at the moment isn't possible maybe after 0.97 Smiley
Logged
[S]haDoW
Newbie

Offline Offline

Posts: 24


View Profile
« Reply #8 on: March 30, 2007, 12:30:18 pm »

Hey Smiley .. nice plugin
So, I have read quickly the code of plugin , if i can give a suggestion to you:
at 766 line:
Code:

proc getColor { num } {
if { $num < 23 } {
if {[string equal $num "00"]} {return "FFFFFF"}
if {[string equal $num "01"]} {return "000000"}
if {[string equal $num "02"]} {return "00007F"}
if {[string equal $num "03"]} {return "009300"}
if {[string equal $num "04"]} {return "FF0000"}
if {[string equal $num "05"]} {return "7F0000"}
if {[string equal $num "06"]} {return "9C009C"}
if {[string equal $num "07"]} {return "FC7F00"}
if {[string equal $num "08"]} {return "FFFF00"}
if {[string equal $num "09"]} {return "00FC00"}
if {[string equal $num "10"]} {return "009393"}
if {[string equal $num "11"]} {return "00FFFF"}
if {[string equal $num "12"]} {return "2020FC"}
if {[string equal $num "13"]} {return "FF00FF"}
if {[string equal $num "14"]} {return "7F7F7F"}
if {[string equal $num "15"]} {return "D2D2D2"}
if {[string equal $num "16"]} {return "E7E6E4"}
if {[string equal $num "17"]} {return "CFCDD0"}
if {[string equal $num "18"]} {return "FFDEA4"}
if {[string equal $num "19"]} {return "FFAEB9"}
if {[string equal $num "20"]} {return "FFA8FF"}
if {[string equal $num "21"]} {return "B4B4FC"}
if {[string equal $num "22"]} {return "BAFBE5"}
..........


I think that you can have more efficent and clean code creating one array of string with all colours and returning array_colors[num]
I don't know the tcl/tk for that i can't translate my suggestion in the code Tongue
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #9 on: March 30, 2007, 03:25:26 pm »

nice.. here's how it would look like (partial) :
[code]
array set array_colors [list 00 FFFFFF 01 000000 02 00007F 03 009300 .... ]

proc getColor {num } {
  if { [info exists array_colors($num)] } {  return [set array_colors($num)] }
}
Logged

KaKaRoTo
Phil
Administrator
Super Power User
*****
Offline Offline

Posts: 653


View Profile
« Reply #10 on: March 30, 2007, 06:35:32 pm »

That's code stolen from aMSNPlus plugin :p
Anyway, I changed the code in the last release : so feel free to copy the new version...
Phil
P.S. I will soon remove color parsing in nicks from aMSNPlus as this plugin handles things in a better way Wink
Logged

Phil

AMsn is great, and it will be greater :wink:
LoLKiD
Newbie

Offline Offline

Posts: 7



View Profile
« Reply #11 on: March 30, 2007, 08:45:26 pm »

This plugin dont work with the old color style of msgplus.. ·$ ·# and ·@

Any person here have a plugin to colored my nick, and the nicks of my contacts list?
Logged

Que todas las olas sean mi escudo, que todos los truenos sean mi espada.
Fenix-TX
Super Power User
**
Offline Offline

Posts: 660


View Profile
« Reply #12 on: March 30, 2007, 10:35:32 pm »

Quote from: "LoLKiD"
This plugin dont work with the old color style of msgplus.. ·$ ·# and ·@

Any person here have a plugin to colored my nick, and the nicks of my contacts list?


For me it's working with old msgplus colors.
Logged
square87
Super Power User
**
Offline Offline

Posts: 427


View Profile
« Reply #13 on: March 31, 2007, 06:45:18 am »

@haDoW thanks for the suggestion. I'll do for the next version Smiley

@LoLKiD:
Do you have the svn version?
If yes, tell me a nick that isn't parsed.
You can color your nick and psm but (at the moment) _you_ cannot see colored nick/psm in topContactList.
Logged
LoLKiD
Newbie

Offline Offline

Posts: 7



View Profile
« Reply #14 on: March 31, 2007, 06:46:57 am »

Quote from: "square87"
@haDoW thanks for the suggestion. I'll do for the next version Smiley

@LoLKiD:
Do you have the svn version?
If yes, tell me a nick that isn't parsed.
You can color your nick and psm but (at the moment) _you_ cannot see colored nick/psm in topContactList.


I've the last svn revision, and i cant see any nick with colors..
Logged

Que todas las olas sean mi escudo, que todos los truenos sean mi espada.
Pages: [1] 2 3 ... 12
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!