View Single Post
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 05-31-2012 , 02:33   Re: [TF2] Rainbowize!
Reply With Quote #29

McKay, there's an issue where I can type
Code:
"word                      anotherword"
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.
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 05-31-2012 at 02:38.
FlaminSarge is offline