ACCM 1.3.1, or the newest version, when ever it comes out. And I wish to see the chat inside the consol, or some other window that is comming from the server.
ACCM should already route all messages to a single function for logging purposes, so instead of making modifications to all the message functions you need only add a few lines. However, the function it uses is in a closed source file in the version you have, so you'll need to append it in a package.
So, simply add this to server.cs:
ACCM should already route all messages to a single function for logging purposes, so instead of making modifications to all the message functions you need only add a few lines. However, the function it uses is in a closed source file in the version you have, so you'll need to append it in a package.
So, simply add this to server.cs:
Comments
Do you wish to
I can explain it in more detail if the need arises.
So, simply add this to server.cs:
package logmahcat { function ACCMChatLog(%client, %msg, %type, %target) { parent::ACCMChatLog(%client, %msg, %type, %target); error(%client.nameBase @ (%t $= "[PRIVATE]" ? " (to "@%target.nameBase@")" : %t) @": "@ %msg); } }; if (!isActivePackage(logmahcat)) activatePackage(logmahcat);PS: I took a quick glance in the file, and it looks like any canned chat will go through as blank. If you want to fix that, in message.cs: