If I set %client to my self, and %target to any other client, and set %msg to any text, I can see the message.
If I set %client to any other client besides my self, and %target to any other client besides my self, and set %msg to any text, %client can not view the message. Any idea why? Once again, any help would be appreciated.
function ChatTest(%client, %target, %msg)
{
if(clientgroup.ismember(%client))
{
if(clientgroup.ismember(%target))
{
%all = '';
%pre = %target.prefix;
%suf = %target.suffix;
%name = %target.name;
%color = "<color:FFFFFF>";
commandtoclient(%client, 'chatmessage', %target, '', '', %all, %pre, %name, %suf, %msg, %color, %team.name);
commandtoclient(%target, 'chatmessage', %target, '', '', %all, %pre, %name, %suf, %msg, %color, %team.name);
}
}
}