Thanks for the code.

Where should in put it with the Script editor?

and if i need to ad more ranks like this:
Private - Dark green
Corporal - Dark green
Sergeant - Dark green
Lieutenant - Dark green
Captain - Dark green
Major - lightgreen
Colonel - light greeen
Mjr.General - Yellow
Lt.General - light cyan

Should i ad more of these
Code:
elseif ($7 == major(5)) .cnick -a $v1 5


and change major to Colonel and the color code 5 to 9

Should have said that I am totally new to this.

Last edited by Boogzor; 07/05/13 06:09 PM.