Advertisement
nevadies

Untitled

Jul 23rd, 2014
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.62 KB | None | 0 0
  1. {
  2. char message[1024];
  3. switch(GetPlayer()->GetSession()->GetSecurity())
  4. {
  5. case SEC_PLAYER: // normal player, non-vip
  6. if (GetPlayer()->GetTeam()==ALLIANCE) {
  7. snprintf(message, 1024, "|cff33CC00World |cffDC143C[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  8. }
  9. if (GetPlayer()->GetTeam()==HORDE) {
  10. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  11. }
  12. break;
  13. case 1: // VIP
  14. snprintf(message, 1024, "|cff33CC00World |cff87CEEB[VIP 1]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  15. break;
  16.  
  17. case 2: // regular GM
  18. snprintf(message, 1024, "|cff6600AA{VIP 2]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  19. break;
  20.  
  21. case 3: // Head GM/SGM
  22. snprintf(message, 1024, "|cff6600AA[VIP 3]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  23. break;
  24.  
  25. case 4: // ADMIN
  26. snprintf(message, 1024, "|cff6600AA[VIP 4]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  27. break;
  28.  
  29. case 5: // ADMIN
  30. snprintf(message, 1024, "|cff6600AA[VIP 5]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  31. break;
  32.  
  33. case 6: // ADMIN
  34. snprintf(message, 1024, "|cff00ffff[VIP 6]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  35. break;
  36.  
  37. case 7: // ADMIN
  38. if (GetPlayer()->isGameMaster()==TRUE)
  39. {
  40. snprintf(message, 1024, "|cff33CC00World |TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t |cfffa9900[Trial GM]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  41. }
  42. {
  43. if (GetPlayer()->isGameMaster()==FALSE)
  44. if (GetPlayer()->GetTeam()==HORDE)
  45. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  46. }
  47. {
  48. if (GetPlayer()->isGameMaster()==FALSE)
  49. if (GetPlayer()->GetTeam()==ALLIANCE)
  50. snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  51. }
  52. break;
  53.  
  54. case 9: // ADMIN
  55. if (GetPlayer()->isGameMaster()==TRUE)
  56. {
  57. snprintf(message, 1024, "|cff33CC00World |TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t |cffff8a00[GM]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  58. }
  59. {
  60. if (GetPlayer()->isGameMaster()==FALSE)
  61. if (GetPlayer()->GetTeam()==HORDE)
  62. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  63. }
  64. {
  65. if (GetPlayer()->isGameMaster()==FALSE)
  66. if (GetPlayer()->GetTeam()==ALLIANCE)
  67. snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  68. }
  69. break;
  70.  
  71. case 10: // ADMIN
  72. if (GetPlayer()->isGameMaster()==TRUE)
  73. {
  74. snprintf(message, 1024, "|cff33CC00World |TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t |cffff8a00[Bug Abuser & Developer]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  75. }
  76. {
  77. if (GetPlayer()->isGameMaster()==FALSE)
  78. if (GetPlayer()->GetTeam()==HORDE)
  79. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  80. }
  81. {
  82. if (GetPlayer()->isGameMaster()==FALSE)
  83. if (GetPlayer()->GetTeam()==ALLIANCE)
  84. snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  85. }
  86. break;
  87.  
  88. case 11: // ADMIN
  89. if (GetPlayer()->isGameMaster()==TRUE)
  90. {
  91. snprintf(message, 1024, "|cff33CC00World |TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t |cffff8a00Developer]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  92. }
  93. {
  94. if (GetPlayer()->isGameMaster()==FALSE)
  95. if (GetPlayer()->GetTeam()==HORDE)
  96. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  97. }
  98. {
  99. if (GetPlayer()->isGameMaster()==FALSE)
  100. if (GetPlayer()->GetTeam()==ALLIANCE)
  101. snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  102. }
  103. break;
  104.  
  105. case 12: // ADMIN
  106. if (GetPlayer()->isGameMaster()==TRUE)
  107. {
  108. snprintf(message, 1024, "|cff33CC00World |TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t |cff00FFF2[Head Developer]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  109. }
  110. {
  111. if (GetPlayer()->isGameMaster()==FALSE)
  112. if (GetPlayer()->GetTeam()==HORDE)
  113. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  114. }
  115. {
  116. if (GetPlayer()->isGameMaster()==FALSE)
  117. if (GetPlayer()->GetTeam()==ALLIANCE)
  118. snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  119. }
  120. break;
  121.  
  122. case 13: // ADMIN
  123. if (GetPlayer()->isGameMaster()==TRUE)
  124. {
  125. snprintf(message, 1024, "|cff33CC00World |TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t |cffff8a00[Admin]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  126. }
  127. {
  128. if (GetPlayer()->isGameMaster()==FALSE)
  129. if (GetPlayer()->GetTeam()==HORDE)
  130. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  131. }
  132. {
  133. if (GetPlayer()->isGameMaster()==FALSE)
  134. if (GetPlayer()->GetTeam()==ALLIANCE)
  135. snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  136. }
  137. break;
  138.  
  139. case 14: // ADMIN
  140. if (GetPlayer()->isGameMaster()==TRUE)
  141. {
  142. snprintf(message, 1024, "|cff33CC00World |TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t |cffff8a00[Head Admin]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  143. }
  144. {
  145. if (GetPlayer()->isGameMaster()==FALSE)
  146. if (GetPlayer()->GetTeam()==HORDE)
  147. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  148. }
  149. {
  150. if (GetPlayer()->isGameMaster()==FALSE)
  151. if (GetPlayer()->GetTeam()==ALLIANCE)
  152. snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  153. }
  154. break;
  155.  
  156. case 15: // ADMIN
  157. if (GetPlayer()->isGameMaster()==TRUE)
  158. {
  159. snprintf(message, 1024, "|cff33CC00World |TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t |cffff8a00[Co-Owner & Developer]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  160. }
  161. {
  162. if (GetPlayer()->isGameMaster()==FALSE)
  163. if (GetPlayer()->GetTeam()==HORDE)
  164. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  165. }
  166. {
  167. if (GetPlayer()->isGameMaster()==FALSE)
  168. if (GetPlayer()->GetTeam()==ALLIANCE)
  169. snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  170. }
  171. break;
  172.  
  173. case 16: // ADMIN
  174. if (GetPlayer()->isGameMaster()==TRUE)
  175. {
  176. snprintf(message, 1024, "|cff33CC00World |TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:0:2:0:-3|t |cff00FF04[Epidemic-WoW Owner]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  177. }
  178. {
  179. if (GetPlayer()->isGameMaster()==FALSE)
  180. if (GetPlayer()->GetTeam()==HORDE)
  181. snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  182. }
  183. {
  184. if (GetPlayer()->isGameMaster()==FALSE)
  185. if (GetPlayer()->GetTeam()==ALLIANCE)
  186. snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
  187. }
  188. break;
  189.  
  190. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement