Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- char message[1024];
- switch(GetPlayer()->GetSession()->GetSecurity())
- {
- case SEC_PLAYER: // normal player, non-vip
- if (GetPlayer()->GetTeam()==ALLIANCE) {
- snprintf(message, 1024, "|cff33CC00World |cffDC143C[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- if (GetPlayer()->GetTeam()==HORDE) {
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- case 1: // VIP
- snprintf(message, 1024, "|cff33CC00World |cff87CEEB[VIP 1]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- break;
- case 2: // regular GM
- snprintf(message, 1024, "|cff6600AA{VIP 2]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- break;
- case 3: // Head GM/SGM
- snprintf(message, 1024, "|cff6600AA[VIP 3]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- break;
- case 4: // ADMIN
- snprintf(message, 1024, "|cff6600AA[VIP 4]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- break;
- case 5: // ADMIN
- snprintf(message, 1024, "|cff6600AA[VIP 5]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- break;
- case 6: // ADMIN
- snprintf(message, 1024, "|cff00ffff[VIP 6]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- break;
- case 7: // ADMIN
- if (GetPlayer()->isGameMaster()==TRUE)
- {
- 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());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==HORDE)
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==ALLIANCE)
- snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- case 9: // ADMIN
- if (GetPlayer()->isGameMaster()==TRUE)
- {
- 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());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==HORDE)
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==ALLIANCE)
- snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- case 10: // ADMIN
- if (GetPlayer()->isGameMaster()==TRUE)
- {
- 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());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==HORDE)
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==ALLIANCE)
- snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- case 11: // ADMIN
- if (GetPlayer()->isGameMaster()==TRUE)
- {
- 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());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==HORDE)
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==ALLIANCE)
- snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- case 12: // ADMIN
- if (GetPlayer()->isGameMaster()==TRUE)
- {
- 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());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==HORDE)
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==ALLIANCE)
- snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- case 13: // ADMIN
- if (GetPlayer()->isGameMaster()==TRUE)
- {
- 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());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==HORDE)
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==ALLIANCE)
- snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- case 14: // ADMIN
- if (GetPlayer()->isGameMaster()==TRUE)
- {
- 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());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==HORDE)
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==ALLIANCE)
- snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- case 15: // ADMIN
- if (GetPlayer()->isGameMaster()==TRUE)
- {
- 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());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==HORDE)
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==ALLIANCE)
- snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- case 16: // ADMIN
- if (GetPlayer()->isGameMaster()==TRUE)
- {
- 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());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==HORDE)
- snprintf(message, 1024, "|cff33CC00World |cffFF0000[Horde]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- {
- if (GetPlayer()->isGameMaster()==FALSE)
- if (GetPlayer()->GetTeam()==ALLIANCE)
- snprintf(message, 1024, "|cff33CC00World |cff0000FF[Alliance]|cff00CCEE[%s]:|cffFFFF00 %s", GetPlayer()->GetName().c_str(), msg.c_str());
- }
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement