I have edited the message code, and I wanted to have the color of the powergods status they are given. and if they don't have powergod, it returns to their team color. What is wrong? it keeps saying unknown command: 'getcolorhex'
%msg = %new;
%team = %client.getTeam();
%color = %team.getColorHex();
%name = %color @ %cl.nameColor @ %cl.getPlayerName();
%pre = %cl.clanPrefix;
%suf = %cl.clanSuffix;
%all = '\c7%1\c3%2\c7%3\c6: %4' @ "\c7" @ %pre @ "\c3" @ %color @ %name @ "\c7" @ %suf @ "\c6: " @ %msg;
%cl.lastChatText = %msg;
%cl.lastChatTime = %time;
commandToAll('chatMessage',%cl,'','',%all,%pre,%name,%suf,%msg);