Quote:
Originally Posted by Horsedick
sure here ya go...
|
That's strange... You're running Simple Chat Colors?
Quote:
Originally Posted by FlaminSarge
McKay, there's an issue where I can type
in chat and the ExplodeString messes up. TrimString doesn't catch that.
Repeated calls to BreakString might be the solution.
Any chance of implementing a cvar to replace the ShowActivity2 with ReplyToCommand?
Also, any chance of implementing logging/activity like so? (Instead of 'toggled')
Code:
ShowActivity2(client, "[SM] ", "%s rainbow chat on self.", isRainbowized[client] ? "Enabled" : "Disabled");
ReplyToCommand(client, "[SM] Rainbow chat %s.", isRainbowized[client] ? "enabled" : "disabled");
LogAction(client, client, "%L %s rainbow chat on themself", client, isRainbowized[client] ? "enabled" : "disabled");
In addition, there's a MAX_MESSAGE_LENGTH define. I don't know why SimpleChat defines it again under MAXLENGTH_MESSAGE.
|
I'll add that in when I can. The way I understand it, there's a limit on the number of characters you can have in a single chat message, which is MAXLENGTH_MESSAGE. The engine halves this value and gives half of the available space to the name and half to the message, MAX_MESSAGE_LENGTH. Check out the comments in scp.inc.
__________________