IRC String Color?
#1

pawn Code:
new string[128]; format(string,sizeof(string),"Administrator \"%s\" has killed all players", pName(playerid) );
        IRC_GroupSay(groupID, IRC_CHANNEL, string);

How can I change the color for this at the IRC?
Reply
#2

Quote:

new string[128]; format(string,sizeof(string),"Administrator \"%s\" has killed all players", pName(playerid) );
IRC_GroupSay(groupID, IRC_CHANNEL, string);

Try adding Hex Codes to the front of the sentence. Example:

pawn Code:
new string[128]; format(string,sizeof(string),"{FFD700}Administrator \"%s\" has killed all players", pName(playerid) );
        IRC_GroupSay(groupID, IRC_CHANNEL, string);
Tell me if it works or not.
Reply
#3

Those DO NOT work in IRC. These will:

http://www.mirc.com/colors.html
http://www.ircbeginner.com/ircinfo/colors.html

You might want a irc client to test these out and see how they look.
Reply
#4

Example please
Reply
#5

Quote:
Originally Posted by Alex_Obando
View Post
Example please
If you get a program like MIRC and press ctrl+k you'll get a little bar with colors. You can copy/paste them into the string.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)