Aide tré inporten
Profil bloqué
-
Profil bloqué -
Profil bloqué -
Bonjour, aide je cherche la couleur blanc du message je la trouve pas svp aide
CMscm = SendChatMessage;
CMison = "no";
CMColor = "FFFF00"
CMStringPrep = " \124c00"..CMColor;
CMStringEnd = " \124r";
CMSpecialColor = "no";
CMDoingGMCommand = "no";
Skipline = "\n";
CMblue = "3333ff";
CMred = "FF3333";
CMgreen = "33FF33";
CMorange = "FFA500";
CMyellow = "FFFF00";
CMpurple = "BA55D3";
CMcyan = "BBFFFF";
CMaqua = "7FFFD4";
CMturquoise = "00868B";
CMwhite = "CC0000";
CMblack = "000000";
CMgrey = "666666";
CMbrown = "8B4513";
CMpink = "FF0DE6";
CMYellow = "FFFF00";
Poor = "9d9d9d";
Common = "CC0000";
Uncommon = "1eff00";
Rare = "0070dd";
Epic = "a335ee";
Legendary = "ff8000";
Artifact = "e6cc80";
horst = UnitName("player");
if (not CMColors) then
CMColors = {
CMblue = "3333ff",
CMred = "FF3333",
CMgreen = "33FF33",
CMorange = "FFA500",
CMyellow = "FFFF00",
CMpurple = "BA55D3",
CMcyan = "BBFFFF",
CMaqua = "7FFFD4",
CMturquoise = "00868B",
CMwhite = "CC0000",
CMblack = "000000",
CMgrey = "666666",
CMbrown = "8B4513",
CMpink = "FF0DE6",
};
end
RAWRRRR = {};
CMRandomColors = {
Color1 = CMColors.CMgreen,
Color2 = CMColors.CMblue,
Color3 = CMColors.CMred,
Color4 = CMColors.CMyellow,
Color5 = CMColors.CMorange,
Color6 = CMColors.CMgrey,
Color7 = CMColors.CMpink,
Color8 = CMColors.CMcyan,
Color9 = CMColors.CMaqua,
Color10 = CMColors.CMturquoise,
Color11 = CMColors.CMwhite,
Color12 = CMColors.CMblack,
Color13 = CMColors.CMbrown,
};
if (not CM_PREFS) then CM_PREFS = {
RAID = 0,
SAY = 0,
GUILD = 0,
YELL = 0,
CHANNEL = 0,
WHISPER = 0,
STATUSBUTTON = 1,
BlockMessage = 0
}; end
function SendChatMessage(msg, type, lang, chan)
CMStringPrep = " \124c00"..CMColor.."";
if type==nil then type = "SAY"; end
if type=="RAID" then type = "RAID"; end
if CM_PREFS[type]==0 then
msg = string.gsub(msg, "Brot", "brot")
CMCheck(msg, type, lang, chan);
else
CMscm(msg, type, lang, chan);
end
end
function CMCheck(CMmsgCheck, type, lang, chan)
if CMison~="yes" then CMscm(CMmsgCheck, type, lang, chan); return; end
CMmsgCheck1 = CMmsgCheck;
CMmsgCheck3 = CMmsgCheck;
if string.sub(CMmsgCheck1, 1, 1)=="\." then
CMDoingGMCommand = "yes";
else
CMDoingGMCommand = "no";
end
if CMSpecialColor~="no" then
end
if (CMRANDOMISON=="yes" or CMColor=="random") then
local CMRandomColorChooser = "";
CMColor = "";
CMRANDOMISON = "yes";
local CMRandomColorChooser = "Color"..random(1,13);
CMColor = CMRandomColors[CMRandomColorChooser]
CMStringPrep = " \124c00"..CMColor.."";
end
local CMStringColorStartThingy = "\124r\124c00"..CMColor;
CMmsgCheck = string.gsub(CMmsgCheck, "\124r", CMStringColorStartThingy);
CMmsgCheck = string.gsub(CMmsgCheck, "\124c........\124H", "\124r%0");
if CMDoingGMCommand=="yes" then
CMcommand = "0";
_, _, CMcommand, CMtherestofit = string.find(CMmsgCheck, "(%S*)[%s]*(.*)");
if (CMcommand==".ann" or CMcommand==".announce" or CMcommand==".a") then
if CMSpecialColor~="no" then
msg = ".ann "..CMSpecialStringHandler(CMtherestofit);
else
msg = ".ann "..CMStringPrep..""..CMtherestofit..""..CMStringEnd;
end
elseif CMcommand==".event" then
if CMSpecialColor~="no" then
msg = ".event "..CMSpecialStringHandler(CMtherestofit);
else
msg = ".event "..CMStringPrep..""..CMtherestofit..""..CMStringEnd;
end
elseif CMcommand==".rpb" then
if CMSpecialColor~="no" then
msg = ".rpb "..CMSpecialStringHandler(CMtherestofit);
else
msg = ".rpb "..CMStringPrep..""..CMtherestofit..""..CMStringEnd;
end
else
msg = CMmsgCheck3;
end
CMscm(msg, type, lang, chan);
return;
end
if CMSpecialColor~="no" then
msg = CMSpecialStringHandler(CMmsgCheck);
else
msg = CMStringPrep..""..CMmsgCheck..""..CMStringEnd;
end
CMscm(msg, type, lang, chan);
end
function CMSpecialStringHandler(Message)
Message = CMStringSpecial..""..Message..""..CMStringEnd;
local NumberOfSpacers = 255-string.len(Message);
if NumberOfSpacers<55 then
if CMBlockMessage==0 then
DEFAULT_CHAT_FRAME:AddMessage("\124c00ff0000Error: \124cff00ffffMessage was too long. It was automatically blocked to prevent the risk of being banned. To disable this protection, type /cmprotection")
Message = ""; NumberOfSpacers = 100;
return "";
else
DEFAULT_CHAT_FRAME:AddMessage("\124c00ff0000Warning: \124cff00ffffYour name is visible in this message. You are at risk of being discovered.")
end
end
if NumberOfSpacers>175 then NumberOfSpacers = 175 end
for i=1, NumberOfSpacers do Message = Message; end
return Message;
end
function CMOn()
CMStringPrep = " \124c00"..CMColor.."";
if CMison=="yes" then
DEFAULT_CHAT_FRAME:AddMessage(" \124c00FF0000\Error: |cffEE4000i|cff404040GM\124c0000FFFF\ is already on! ");
else
CMison = "yes";
if CMSpecialColor=="no" then
DEFAULT_CHAT_FRAME:AddMessage(" |cffEE4000i|cff404040GM\124r is now \124c0099FF99\on\124r. Now typ /gm to have the blizz icon or /gmoff to turn off");
else
DEFAULT_CHAT_FRAME:AddMessage(" |cffEE4000i|cff404040GM\124r is now \124c0099FF99\on\124r. Now typ /gm to have the blizz icon or /gmoff to turn off");
end
end
end
SlashCmdList["COLORMECMON"] = CMOn;
SLASH_COLORMECMON1 = "/igmon";
SLASH_COLORMECMON2 = "/gmon";
function CMOff()
if CMison=="yes" then
DEFAULT_CHAT_FRAME:AddMessage(" |cffEE4000i|cff404040GM\124r is now \124c00FF0000\off\124r. ");
CMison = "no";
else
DEFAULT_CHAT_FRAME:AddMessage(" \124c00FF0000\Error: |cffEE4000i|cff404040GM\124r\124c0000FFFF\ is already off! ");
end
end
SlashCmdList["COLORMECMOFF"] = CMOff;
SLASH_COLORMECMOFF1 = "/igmoff";
SLASH_COLORMECMOFF2 = "/gmoff";
function gmuwow()
if CMSpecialColor=="(Fast)GM Mode xD" then
DEFAULT_CHAT_FRAME:AddMessage(" Spambilder Impersonation Mode is now \124c00FF0000\OFF\124r.");
CMSpecialColor = "no";
else
CMSpecialColor = "gmuwow";
CMStringSpecial = "\124cffEAD6D6\124TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:17:28\124t "
DEFAULT_CHAT_FRAME:AddMessage("testugm");
end
if CMison=="no" then
DEFAULT_CHAT_FRAME:AddMessage(" You must turn |cffEE4000i|cff404040GM\124r on before this takes effect. ")
end
end
SlashCmdList["Spambilderrr"] = gmuwow;
SLASH_Spambilderrr1 = "/gm";
CMscm = SendChatMessage;
CMison = "no";
CMColor = "FFFF00"
CMStringPrep = " \124c00"..CMColor;
CMStringEnd = " \124r";
CMSpecialColor = "no";
CMDoingGMCommand = "no";
Skipline = "\n";
CMblue = "3333ff";
CMred = "FF3333";
CMgreen = "33FF33";
CMorange = "FFA500";
CMyellow = "FFFF00";
CMpurple = "BA55D3";
CMcyan = "BBFFFF";
CMaqua = "7FFFD4";
CMturquoise = "00868B";
CMwhite = "CC0000";
CMblack = "000000";
CMgrey = "666666";
CMbrown = "8B4513";
CMpink = "FF0DE6";
CMYellow = "FFFF00";
Poor = "9d9d9d";
Common = "CC0000";
Uncommon = "1eff00";
Rare = "0070dd";
Epic = "a335ee";
Legendary = "ff8000";
Artifact = "e6cc80";
horst = UnitName("player");
if (not CMColors) then
CMColors = {
CMblue = "3333ff",
CMred = "FF3333",
CMgreen = "33FF33",
CMorange = "FFA500",
CMyellow = "FFFF00",
CMpurple = "BA55D3",
CMcyan = "BBFFFF",
CMaqua = "7FFFD4",
CMturquoise = "00868B",
CMwhite = "CC0000",
CMblack = "000000",
CMgrey = "666666",
CMbrown = "8B4513",
CMpink = "FF0DE6",
};
end
RAWRRRR = {};
CMRandomColors = {
Color1 = CMColors.CMgreen,
Color2 = CMColors.CMblue,
Color3 = CMColors.CMred,
Color4 = CMColors.CMyellow,
Color5 = CMColors.CMorange,
Color6 = CMColors.CMgrey,
Color7 = CMColors.CMpink,
Color8 = CMColors.CMcyan,
Color9 = CMColors.CMaqua,
Color10 = CMColors.CMturquoise,
Color11 = CMColors.CMwhite,
Color12 = CMColors.CMblack,
Color13 = CMColors.CMbrown,
};
if (not CM_PREFS) then CM_PREFS = {
RAID = 0,
SAY = 0,
GUILD = 0,
YELL = 0,
CHANNEL = 0,
WHISPER = 0,
STATUSBUTTON = 1,
BlockMessage = 0
}; end
function SendChatMessage(msg, type, lang, chan)
CMStringPrep = " \124c00"..CMColor.."";
if type==nil then type = "SAY"; end
if type=="RAID" then type = "RAID"; end
if CM_PREFS[type]==0 then
msg = string.gsub(msg, "Brot", "brot")
CMCheck(msg, type, lang, chan);
else
CMscm(msg, type, lang, chan);
end
end
function CMCheck(CMmsgCheck, type, lang, chan)
if CMison~="yes" then CMscm(CMmsgCheck, type, lang, chan); return; end
CMmsgCheck1 = CMmsgCheck;
CMmsgCheck3 = CMmsgCheck;
if string.sub(CMmsgCheck1, 1, 1)=="\." then
CMDoingGMCommand = "yes";
else
CMDoingGMCommand = "no";
end
if CMSpecialColor~="no" then
end
if (CMRANDOMISON=="yes" or CMColor=="random") then
local CMRandomColorChooser = "";
CMColor = "";
CMRANDOMISON = "yes";
local CMRandomColorChooser = "Color"..random(1,13);
CMColor = CMRandomColors[CMRandomColorChooser]
CMStringPrep = " \124c00"..CMColor.."";
end
local CMStringColorStartThingy = "\124r\124c00"..CMColor;
CMmsgCheck = string.gsub(CMmsgCheck, "\124r", CMStringColorStartThingy);
CMmsgCheck = string.gsub(CMmsgCheck, "\124c........\124H", "\124r%0");
if CMDoingGMCommand=="yes" then
CMcommand = "0";
_, _, CMcommand, CMtherestofit = string.find(CMmsgCheck, "(%S*)[%s]*(.*)");
if (CMcommand==".ann" or CMcommand==".announce" or CMcommand==".a") then
if CMSpecialColor~="no" then
msg = ".ann "..CMSpecialStringHandler(CMtherestofit);
else
msg = ".ann "..CMStringPrep..""..CMtherestofit..""..CMStringEnd;
end
elseif CMcommand==".event" then
if CMSpecialColor~="no" then
msg = ".event "..CMSpecialStringHandler(CMtherestofit);
else
msg = ".event "..CMStringPrep..""..CMtherestofit..""..CMStringEnd;
end
elseif CMcommand==".rpb" then
if CMSpecialColor~="no" then
msg = ".rpb "..CMSpecialStringHandler(CMtherestofit);
else
msg = ".rpb "..CMStringPrep..""..CMtherestofit..""..CMStringEnd;
end
else
msg = CMmsgCheck3;
end
CMscm(msg, type, lang, chan);
return;
end
if CMSpecialColor~="no" then
msg = CMSpecialStringHandler(CMmsgCheck);
else
msg = CMStringPrep..""..CMmsgCheck..""..CMStringEnd;
end
CMscm(msg, type, lang, chan);
end
function CMSpecialStringHandler(Message)
Message = CMStringSpecial..""..Message..""..CMStringEnd;
local NumberOfSpacers = 255-string.len(Message);
if NumberOfSpacers<55 then
if CMBlockMessage==0 then
DEFAULT_CHAT_FRAME:AddMessage("\124c00ff0000Error: \124cff00ffffMessage was too long. It was automatically blocked to prevent the risk of being banned. To disable this protection, type /cmprotection")
Message = ""; NumberOfSpacers = 100;
return "";
else
DEFAULT_CHAT_FRAME:AddMessage("\124c00ff0000Warning: \124cff00ffffYour name is visible in this message. You are at risk of being discovered.")
end
end
if NumberOfSpacers>175 then NumberOfSpacers = 175 end
for i=1, NumberOfSpacers do Message = Message; end
return Message;
end
function CMOn()
CMStringPrep = " \124c00"..CMColor.."";
if CMison=="yes" then
DEFAULT_CHAT_FRAME:AddMessage(" \124c00FF0000\Error: |cffEE4000i|cff404040GM\124c0000FFFF\ is already on! ");
else
CMison = "yes";
if CMSpecialColor=="no" then
DEFAULT_CHAT_FRAME:AddMessage(" |cffEE4000i|cff404040GM\124r is now \124c0099FF99\on\124r. Now typ /gm to have the blizz icon or /gmoff to turn off");
else
DEFAULT_CHAT_FRAME:AddMessage(" |cffEE4000i|cff404040GM\124r is now \124c0099FF99\on\124r. Now typ /gm to have the blizz icon or /gmoff to turn off");
end
end
end
SlashCmdList["COLORMECMON"] = CMOn;
SLASH_COLORMECMON1 = "/igmon";
SLASH_COLORMECMON2 = "/gmon";
function CMOff()
if CMison=="yes" then
DEFAULT_CHAT_FRAME:AddMessage(" |cffEE4000i|cff404040GM\124r is now \124c00FF0000\off\124r. ");
CMison = "no";
else
DEFAULT_CHAT_FRAME:AddMessage(" \124c00FF0000\Error: |cffEE4000i|cff404040GM\124r\124c0000FFFF\ is already off! ");
end
end
SlashCmdList["COLORMECMOFF"] = CMOff;
SLASH_COLORMECMOFF1 = "/igmoff";
SLASH_COLORMECMOFF2 = "/gmoff";
function gmuwow()
if CMSpecialColor=="(Fast)GM Mode xD" then
DEFAULT_CHAT_FRAME:AddMessage(" Spambilder Impersonation Mode is now \124c00FF0000\OFF\124r.");
CMSpecialColor = "no";
else
CMSpecialColor = "gmuwow";
CMStringSpecial = "\124cffEAD6D6\124TInterface\\ChatFrame\\UI-ChatIcon-Blizz.blp:17:28\124t "
DEFAULT_CHAT_FRAME:AddMessage("testugm");
end
if CMison=="no" then
DEFAULT_CHAT_FRAME:AddMessage(" You must turn |cffEE4000i|cff404040GM\124r on before this takes effect. ")
end
end
SlashCmdList["Spambilderrr"] = gmuwow;
SLASH_Spambilderrr1 = "/gm";