In the game I play, people you can attack have a <PK> in front of their names on the 'who' list as well as the 'where' list.
If you can attack them because of your levels being close enough, it's displayed as a red 'PK' within brackets with the rest of the line being white or possibly other colours.
If you can attack them because they hold a certain item in the game, it's displayed as a yellow 'PK' with the same "maybe white maybe not" situation for the rest of the line.
Is there a way I can match only on the colour of the word PK in the line and change the entire line colour?
e.g. <PK> with red pk turns entire line to pink and <PK> with yellow turns entire line to a bright orange
If you can attack them because of your levels being close enough, it's displayed as a red 'PK' within brackets with the rest of the line being white or possibly other colours.
If you can attack them because they hold a certain item in the game, it's displayed as a yellow 'PK' with the same "maybe white maybe not" situation for the rest of the line.
Is there a way I can match only on the colour of the word PK in the line and change the entire line colour?
e.g. <PK> with red pk turns entire line to pink and <PK> with yellow turns entire line to a bright orange