Network: WoW Gold | WoW Accounts | MPS Games | FPSowned
MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides
Homepage »      Register »      Hall of Fame »      Ranks And Awards »      Advertise »      Marketplace »
 
Sign up



Do you like this excellent information? Then Donate HERE to remove ads and support the MMOwned community.


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > WoW Emulator Server > Emulator Server Guides

Emulator Server Guides Guides for working with World of Warcraft Emulator servers. Learn how to create a WoW Server here.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
  #1  
Old 06-27-2009
[pwn]age is offline.
Master Sergeant
  
 
Join Date: Jul 2008
Posts: 96
Reputation: 55
Points: 906, Level: 2
Points: 906, Level: 2 Points: 906, Level: 2 Points: 906, Level: 2
Level up: 2%, 494 Points needed
Level up: 2% Level up: 2% Level up: 2%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
[Tutorial] How to have colors on your menu (LUA)

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.



If you want to change the color so something different here is a list of different colors.

Code:
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"
CORAL "|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"
LIGHTCORAL  "|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 go to Skreem of ac-web
Original post : [Only registered and activated users can see links. ]

Last edited by [pwn]age; 07-18-2009 at 12:36 PM.
Reply With Quote


Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx.

  #2  
Old 06-27-2009
Historical's Avatar
Historical is offline.
Contributor
  
 
Join Date: Jul 2007
Location: Sweden
Posts: 328
Reputation: 250
Points: 2,141, Level: 4
Points: 2,141, Level: 4 Points: 2,141, Level: 4 Points: 2,141, Level: 4
Level up: 6%, 659 Points needed
Level up: 6% Level up: 6% Level up: 6%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

Ah nice, I like this + rep
__________________
Reply With Quote
  #3  
Old 06-27-2009
[pwn]age is offline.
Master Sergeant
  
 
Join Date: Jul 2008
Posts: 96
Reputation: 55
Points: 906, Level: 2
Points: 906, Level: 2 Points: 906, Level: 2 Points: 906, Level: 2
Level up: 2%, 494 Points needed
Level up: 2% Level up: 2% Level up: 2%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
thanks , its always nice to add color to things
Reply With Quote
  #4  
Old 06-27-2009
darkwiz787's Avatar
darkwiz787 is online.
Sergeant Major
  
 
Join Date: Mar 2009
Posts: 171
Reputation: 11
Points: 808, Level: 1
Points: 808, Level: 1 Points: 808, Level: 1 Points: 808, Level: 1
Level up: 82%, 92 Points needed
Level up: 82% Level up: 82% Level up: 82%
Activity: 1.4%
Activity: 1.4% Activity: 1.4% Activity: 1.4%

Shove a Cookie down your throat.
Reply With Quote
  #5  
Old 06-27-2009
[pwn]age is offline.
Master Sergeant
  
 
Join Date: Jul 2008
Posts: 96
Reputation: 55
Points: 906, Level: 2
Points: 906, Level: 2 Points: 906, Level: 2 Points: 906, Level: 2
Level up: 2%, 494 Points needed
Level up: 2% Level up: 2% Level up: 2%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
he, so brutal :P
Reply With Quote
  #6  
Old 07-02-2009
hosterr is offline.
New User
  
 
Join Date: Aug 2008
Posts: 14
Reputation: 0
just what i was searching for ages of this! tnx for the guide + rep
Reply With Quote
  #7  
Old 07-02-2009
Lynie's Avatar
Lynie is offline.
Contributor
  
 
Join Date: Mar 2008
Posts: 61
Reputation: 81
Points: 557, Level: 1
Points: 557, Level: 1 Points: 557, Level: 1 Points: 557, Level: 1
Level up: 32%, 343 Points needed
Level up: 32% Level up: 32% Level up: 32%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%

I think you can also choose your own color which is not in the list by looking up the hex color([Only registered and activated users can see links. ]) and adding the prefix |cff

Anyways good work

Reply With Quote
  #8  
Old 07-03-2009
[pwn]age is offline.
Master Sergeant
  
 
Join Date: Jul 2008
Posts: 96
Reputation: 55
Points: 906, Level: 2
Points: 906, Level: 2 Points: 906, Level: 2 Points: 906, Level: 2
Level up: 2%, 494 Points needed
Level up: 2% Level up: 2% Level up: 2%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
thanks . glad this helped
Reply With Quote
  #9  
Old 07-06-2009
onesbronson's Avatar
onesbronson is offline.
New User
  
 
Join Date: Aug 2007
Location: Memphis, TN
Posts: 29
Reputation: 2
Points: 476, Level: 1
Points: 476, Level: 1 Points: 476, Level: 1 Points: 476, Level: 1
Level up: 16%, 424 Points needed
Level up: 16% Level up: 16% Level up: 16%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
you mother ****er ,give the dam credits to Skreem of ac-web he posted this way before u did ,and you completley ripped it from him ****ing dick head
[Only registered and activated users can see links. ]

**** i wanna cock smack you
Reply With Quote
  #10  
Old 07-17-2009
Skreem is offline.
Sergeant
  
 
Join Date: Apr 2007
Posts: 54
Reputation: 17
Umm thanks for giving me credit for my post.. You completly ripped this off from me. I do not mind if people post my work, but they need to atleast give credit to me.
I will be requesting for a mod to take this post down... Or just simply give me credit for my post....
Reply With Quote
  #11  
Old 07-18-2009
[pwn]age is offline.
Master Sergeant
  
 
Join Date: Jul 2008
Posts: 96
Reputation: 55
Points: 906, Level: 2
Points: 906, Level: 2 Points: 906, Level: 2 Points: 906, Level: 2
Level up: 2%, 494 Points needed
Level up: 2% Level up: 2% Level up: 2%
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
edited for credits. and onesbronson. stfu and dont be a dick
Reply With Quote
  #12  
Old 07-18-2009
Hellgawd's Avatar
Hellgawd is offline.
Web Developer
Legendary User
  
 
Join Date: Jun 2007
Location: British Columbia
Posts: 2,270
Reputation: 627
Points: 18,578, Level: 18
Points: 18,578, Level: 18 Points: 18,578, Level: 18 Points: 18,578, Level: 18
Level up: 52%, 722 Points needed
Level up: 52% Level up: 52% Level up: 52%
Activity: 45.3%
Activity: 45.3% Activity: 45.3% Activity: 45.3%

Shame for ripping!
For those that don't know, this is just standard C++-colors, just like seen in the core;
__________________
[Only registered and activated users can see links. ] [|] [Only registered and activated users can see links. ]
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -4. The time now is 09:10 PM.




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490