Onlykl
06-07-09, 09:42 PM
Here is a guide on how to add colors to your npc menu.
I will be showing you how to put color text on your menu without having to do c++ scripting.
Its very simple.
Menu->AddItem(0, "|cffff6060NameOfThePlace|r", 3);
Notice the text in red?
This is what you add into to change the color of the text.
cffff6060 is the color of the text. Which is a bright red almost a pink.
Here's another example.
unit:GossipMenuAddItem(2, "|cFF00FFFFNothing Personal Mall", 4, 0)
Notice after "Nothing Personal Mall" I didn't put a "lr"
Well this is not needed to have color text.
http://i211.photobucket.com/albums/bb181/tromp24/untitled-15.jpg
If you want to change the color so something different here is a list of different colors.
GREY "|cff888888"
WHITE "|cffffffff"
SUBWHITE "|cffbbbbbb"
MAGENTA "|cffff00ff"
YELLOW "|cffffff00"
CYAN "|cff00ffff"
LIGHTRED "|cffff6060"
LIGHTBLUE "|cff00ccff"
BLUE "|cff0000ff"
GREEN "|cff00ff00"
RED "|cffff0000"
GOLD "|cffffcc00"
ALICEBLUE"|cFFF0F8FF"
ANTIQUEWHITE"|cFFFAEBD7"
AQUA "|cFF00FFFF"
AQUAMARINE "|cFF7FFFD4"
AZURE "|cFFF0FFFF"
BEIGE "|cFFF5F5DC"
BISQUE"|cFFFFE4C4"
BLACK "|cFF000000"
BLANCHEDALMOND "|cFFFFEBCD"
BLUE "|cFF0000FF"
BLUEVIOLET "|cFF8A2BE2"
BROWN "|cFFA52A2A"
BURLYWOOD"|cFFDEB887"
CADETBLUE"|cFF5F9EA0"
CHARTREUSE "|cFF7FFF00"
CHOCOLATE"|cFFD2691E"
***** "|cFFFF7F50"
CORNFLOWERBLUE "|cFF6495ED"
CORNSILK "|cFFFFF8DC"
CRIMSON "|cFFDC143C"
CYAN "|cFF00FFFF"
DARKBLUE "|cFF00008B"
DARKCYAN "|cFF008B8B"
DARKGOLDENROD "|cFFB8860B"
DARKGRAY "|cFFA9A9A9"
DARKGREEN"|cFF006400"
DARKKHAKI"|cFFBDB76B"
DARKMAGENTA "|cFF8B008B"
DARKOLIVEGREEN "|cFF556B2F"
DARKORANGE "|cFFFF8C00"
DARKORCHID "|cFF9932CC"
DARKRED "|cFF8B0000"
DARKSALMON "|cFFE9967A"
DARKSEAGREEN"|cFF8FBC8B"
DARKSLATEBLUE "|cFF483D8B"
DARKSLATEGRAY "|cFF2F4F4F"
DARKTURQUOISE "|cFF00CED1"
DARKVIOLET "|cFF9400D3"
DEEPPINK "|cFFFF1493"
DEEPSKYBLUE "|cFF00BFFF"
DIMGRAY "|cFF696969"
DODGERBLUE "|cFF1E90FF"
FIREBRICK"|cFFB22222"
FLORALWHITE "|cFFFFFAF0"
FORESTGREEN "|cFF228B22"
FUCHSIA "|cFFFF00FF"
GAINSBORO"|cFFDCDCDC"
GHOSTWHITE "|cFFF8F8FF"
GOLD "|cFFFFD700"
GOLDENROD"|cFFDAA520"
GRAY "|cFF808080"
GREEN "|cFF008000"
GREENYELLOW "|cFFADFF2F"
HONEYDEW "|cFFF0FFF0"
HOTPINK "|cFFFF69B4"
INDIANRED"|cFFCD5C5C"
INDIGO"|cFF4B0082"
IVORY "|cFFFFFFF0"
KHAKI "|cFFF0E68C"
LAVENDER "|cFFE6E6FA"
LAVENDERBLUSH "|cFFFFF0F5"
LAWNGREEN"|cFF7CFC00"
LEMONCHIFFON"|cFFFFFACD"
LIGHTBLUE"|cFFADD8E6"
LIGHT***** "|cFFF08080"
LIGHTCYAN"|cFFE0FFFF"
LIGHTGRAY"|cFFD3D3D3"
LIGHTGREEN "|cFF90EE90"
LIGHTPINK"|cFFFFB6C1"
LIGHTRED "|cFFFF6060"
LIGHTSALMON "|cFFFFA07A"
LIGHTSEAGREEN "|cFF20B2AA"
LIGHTSKYBLUE"|cFF87CEFA"
LIGHTSLATEGRAY "|cFF778899"
LIGHTSTEELBLUE "|cFFB0C4DE"
LIGHTYELLOW "|cFFFFFFE0"
LIME "|cFF00FF00"
LIMEGREEN"|cFF32CD32"
LINEN "|cFFFAF0E6"
MAGENTA "|cFFFF00FF"
MAROON"|cFF800000"
MEDIUMAQUAMARINE "|cFF66CDAA"
MEDIUMBLUE "|cFF0000CD"
MEDIUMORCHID"|cFFBA55D3"
MEDIUMPURPLE"|cFF9370DB"
MEDIUMSEAGREEN "|cFF3CB371"
MEDIUMSLATEBLUE"|cFF7B68EE"
MEDIUMSPRINGGREEN "|cFF00FA9A"
MEDIUMTURQUOISE"|cFF48D1CC"
MEDIUMVIOLETRED"|cFFC71585"
MIDNIGHTBLUE"|cFF191970"
MINTCREAM"|cFFF5FFFA"
MISTYROSE"|cFFFFE4E1"
MOCCASIN "|cFFFFE4B5"
NAVAJOWHITE "|cFFFFDEAD"
NAVY "|cFF000080"
OLDLACE "|cFFFDF5E6"
OLIVE "|cFF808000"
OLIVEDRAB"|cFF6B8E23"
ORANGE"|cFFFFA500"
ORANGERED"|cFFFF4500"
ORCHID"|cFFDA70D6"
PALEGOLDENROD "|cFFEEE8AA"
PALEGREEN"|cFF98FB98"
PALETURQUOISE "|cFFAFEEEE"
PALEVIOLETRED "|cFFDB7093"
PAPAYAWHIP "|cFFFFEFD5"
PEACHPUFF"|cFFFFDAB9"
PERU "|cFFCD853F"
PINK "|cFFFFC0CB"
PLUM "|cFFDDA0DD"
POWDERBLUE "|cFFB0E0E6"
PURPLE"|cFF800080"
RED"|cFFFF0000"
ROSYBROWN"|cFFBC8F8F"
ROYALBLUE"|cFF4169E1"
SADDLEBROWN "|cFF8B4513"
SALMON"|cFFFA8072"
SANDYBROWN "|cFFF4A460"
SEAGREEN "|cFF2E8B57"
SEASHELL "|cFFFFF5EE"
SIENNA"|cFFA0522D"
SILVER"|cFFC0C0C0"
SKYBLUE "|cFF87CEEB"
SLATEBLUE"|cFF6A5ACD"
SLATEGRAY"|cFF708090"
SNOW "|cFFFFFAFA"
SPRINGGREEN "|cFF00FF7F"
STEELBLUE"|cFF4682B4"
TAN"|cFFD2B48C"
TEAL "|cFF008080"
THISTLE "|cFFD8BFD8"
TOMATO"|cFFFF6347"
TRANSPARENT "|c00FFFFFF"
TURQUOISE"|cFF40E0D0"
VIOLET"|cFFEE82EE"
WHEAT "|cFFF5DEB3"
WHITE "|cFFFFFFFF"
WHITESMOKE "|cFFF5F5F5"
YELLOW"|cFFFFFF00"
YELLOWGREEN "|cFF9ACD32"
Credits
[pwn]age
I just Copy,paste because that was already made so i dont wanted to make new one....
I will be showing you how to put color text on your menu without having to do c++ scripting.
Its very simple.
Menu->AddItem(0, "|cffff6060NameOfThePlace|r", 3);
Notice the text in red?
This is what you add into to change the color of the text.
cffff6060 is the color of the text. Which is a bright red almost a pink.
Here's another example.
unit:GossipMenuAddItem(2, "|cFF00FFFFNothing Personal Mall", 4, 0)
Notice after "Nothing Personal Mall" I didn't put a "lr"
Well this is not needed to have color text.
http://i211.photobucket.com/albums/bb181/tromp24/untitled-15.jpg
If you want to change the color so something different here is a list of different colors.
GREY "|cff888888"
WHITE "|cffffffff"
SUBWHITE "|cffbbbbbb"
MAGENTA "|cffff00ff"
YELLOW "|cffffff00"
CYAN "|cff00ffff"
LIGHTRED "|cffff6060"
LIGHTBLUE "|cff00ccff"
BLUE "|cff0000ff"
GREEN "|cff00ff00"
RED "|cffff0000"
GOLD "|cffffcc00"
ALICEBLUE"|cFFF0F8FF"
ANTIQUEWHITE"|cFFFAEBD7"
AQUA "|cFF00FFFF"
AQUAMARINE "|cFF7FFFD4"
AZURE "|cFFF0FFFF"
BEIGE "|cFFF5F5DC"
BISQUE"|cFFFFE4C4"
BLACK "|cFF000000"
BLANCHEDALMOND "|cFFFFEBCD"
BLUE "|cFF0000FF"
BLUEVIOLET "|cFF8A2BE2"
BROWN "|cFFA52A2A"
BURLYWOOD"|cFFDEB887"
CADETBLUE"|cFF5F9EA0"
CHARTREUSE "|cFF7FFF00"
CHOCOLATE"|cFFD2691E"
***** "|cFFFF7F50"
CORNFLOWERBLUE "|cFF6495ED"
CORNSILK "|cFFFFF8DC"
CRIMSON "|cFFDC143C"
CYAN "|cFF00FFFF"
DARKBLUE "|cFF00008B"
DARKCYAN "|cFF008B8B"
DARKGOLDENROD "|cFFB8860B"
DARKGRAY "|cFFA9A9A9"
DARKGREEN"|cFF006400"
DARKKHAKI"|cFFBDB76B"
DARKMAGENTA "|cFF8B008B"
DARKOLIVEGREEN "|cFF556B2F"
DARKORANGE "|cFFFF8C00"
DARKORCHID "|cFF9932CC"
DARKRED "|cFF8B0000"
DARKSALMON "|cFFE9967A"
DARKSEAGREEN"|cFF8FBC8B"
DARKSLATEBLUE "|cFF483D8B"
DARKSLATEGRAY "|cFF2F4F4F"
DARKTURQUOISE "|cFF00CED1"
DARKVIOLET "|cFF9400D3"
DEEPPINK "|cFFFF1493"
DEEPSKYBLUE "|cFF00BFFF"
DIMGRAY "|cFF696969"
DODGERBLUE "|cFF1E90FF"
FIREBRICK"|cFFB22222"
FLORALWHITE "|cFFFFFAF0"
FORESTGREEN "|cFF228B22"
FUCHSIA "|cFFFF00FF"
GAINSBORO"|cFFDCDCDC"
GHOSTWHITE "|cFFF8F8FF"
GOLD "|cFFFFD700"
GOLDENROD"|cFFDAA520"
GRAY "|cFF808080"
GREEN "|cFF008000"
GREENYELLOW "|cFFADFF2F"
HONEYDEW "|cFFF0FFF0"
HOTPINK "|cFFFF69B4"
INDIANRED"|cFFCD5C5C"
INDIGO"|cFF4B0082"
IVORY "|cFFFFFFF0"
KHAKI "|cFFF0E68C"
LAVENDER "|cFFE6E6FA"
LAVENDERBLUSH "|cFFFFF0F5"
LAWNGREEN"|cFF7CFC00"
LEMONCHIFFON"|cFFFFFACD"
LIGHTBLUE"|cFFADD8E6"
LIGHT***** "|cFFF08080"
LIGHTCYAN"|cFFE0FFFF"
LIGHTGRAY"|cFFD3D3D3"
LIGHTGREEN "|cFF90EE90"
LIGHTPINK"|cFFFFB6C1"
LIGHTRED "|cFFFF6060"
LIGHTSALMON "|cFFFFA07A"
LIGHTSEAGREEN "|cFF20B2AA"
LIGHTSKYBLUE"|cFF87CEFA"
LIGHTSLATEGRAY "|cFF778899"
LIGHTSTEELBLUE "|cFFB0C4DE"
LIGHTYELLOW "|cFFFFFFE0"
LIME "|cFF00FF00"
LIMEGREEN"|cFF32CD32"
LINEN "|cFFFAF0E6"
MAGENTA "|cFFFF00FF"
MAROON"|cFF800000"
MEDIUMAQUAMARINE "|cFF66CDAA"
MEDIUMBLUE "|cFF0000CD"
MEDIUMORCHID"|cFFBA55D3"
MEDIUMPURPLE"|cFF9370DB"
MEDIUMSEAGREEN "|cFF3CB371"
MEDIUMSLATEBLUE"|cFF7B68EE"
MEDIUMSPRINGGREEN "|cFF00FA9A"
MEDIUMTURQUOISE"|cFF48D1CC"
MEDIUMVIOLETRED"|cFFC71585"
MIDNIGHTBLUE"|cFF191970"
MINTCREAM"|cFFF5FFFA"
MISTYROSE"|cFFFFE4E1"
MOCCASIN "|cFFFFE4B5"
NAVAJOWHITE "|cFFFFDEAD"
NAVY "|cFF000080"
OLDLACE "|cFFFDF5E6"
OLIVE "|cFF808000"
OLIVEDRAB"|cFF6B8E23"
ORANGE"|cFFFFA500"
ORANGERED"|cFFFF4500"
ORCHID"|cFFDA70D6"
PALEGOLDENROD "|cFFEEE8AA"
PALEGREEN"|cFF98FB98"
PALETURQUOISE "|cFFAFEEEE"
PALEVIOLETRED "|cFFDB7093"
PAPAYAWHIP "|cFFFFEFD5"
PEACHPUFF"|cFFFFDAB9"
PERU "|cFFCD853F"
PINK "|cFFFFC0CB"
PLUM "|cFFDDA0DD"
POWDERBLUE "|cFFB0E0E6"
PURPLE"|cFF800080"
RED"|cFFFF0000"
ROSYBROWN"|cFFBC8F8F"
ROYALBLUE"|cFF4169E1"
SADDLEBROWN "|cFF8B4513"
SALMON"|cFFFA8072"
SANDYBROWN "|cFFF4A460"
SEAGREEN "|cFF2E8B57"
SEASHELL "|cFFFFF5EE"
SIENNA"|cFFA0522D"
SILVER"|cFFC0C0C0"
SKYBLUE "|cFF87CEEB"
SLATEBLUE"|cFF6A5ACD"
SLATEGRAY"|cFF708090"
SNOW "|cFFFFFAFA"
SPRINGGREEN "|cFF00FF7F"
STEELBLUE"|cFF4682B4"
TAN"|cFFD2B48C"
TEAL "|cFF008080"
THISTLE "|cFFD8BFD8"
TOMATO"|cFFFF6347"
TRANSPARENT "|c00FFFFFF"
TURQUOISE"|cFF40E0D0"
VIOLET"|cFFEE82EE"
WHEAT "|cFFF5DEB3"
WHITE "|cFFFFFFFF"
WHITESMOKE "|cFFF5F5F5"
YELLOW"|cFFFFFF00"
YELLOWGREEN "|cFF9ACD32"
Credits
[pwn]age
I just Copy,paste because that was already made so i dont wanted to make new one....