It is used with quake 3 which uses ^ and a number to change the colour of characters. The code above works, but I need to add funny characters such as *{}
Right now those characters are not colour coded and it skips over other characters that follow.
EDIT: It actually seems to be a bug and now I'm not sure what to do...
It seems the one guy is using letters instead of numbers to change the colours.
Question
DPyro
I got the following code I need to modify:
It is used with quake 3 which uses ^ and a number to change the colour of characters. The code above works, but I need to add funny characters such as *{}
Right now those characters are not colour coded and it skips over other characters that follow.
EDIT: It actually seems to be a bug and now I'm not sure what to do...
It seems the one guy is using letters instead of numbers to change the colours.
Here is the array:
[6] => Array
(
[frags] => 0
[ping] => 61
[nick] => ^p*^a{^pC^aH^pS^a}^p*^aU^pnb^aR
[gq_name] => ^p*^a{^pC^aH^pS^a}^p*^aU^pnb^aR
[gq_score] => 0
[gq_ping] => 61
)
[13] => Array
(
[frags] => 117
[ping] => 51
[nick] => ^2*{^8CHS^2}*^8^2!^8<^2!^8N^2
[gq_name] => ^2*{^8CHS^2}*^8^2!^8<^2!^8N^2
[gq_score] => 117
[gq_ping] => 51
)
[/CODE]
Link to comment
Share on other sites
6 answers to this question
Recommended Posts