Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add message grouping. #4

Open
MindScriptAct opened this issue Jul 24, 2014 · 0 comments
Open

Add message grouping. #4

MindScriptAct opened this issue Jul 24, 2014 · 0 comments

Comments

@MindScriptAct
Copy link
Owner

In MUD or RogueLike games repeating messages often grouped. by adding multiplication, and showing it as one line.

this feature is off by dofault, and controlled by amomunt of lines to look back to be grouped:

MvcExpressLogger.groupRepeatingLines:int; (0 by default);

for example:

command Test Command executed
Message do "somthing" send.
command Test Command executed
Message do "somthing" send.
command Test Command executed
Message do "somthing" send.
command Test Command executed
Message do "somthing" send.
Message do "somthingElse" send.
command Test Command executed
Message do "somthing" send.
command Test Command executed
Message do "somthing" send.
command Test Command executed
Message do "somthing" send.

will be grouped to :

4 * command Test Command executed
4 * Message do "somthing" send.
Message do "somthingElse" send.
3 * command Test Command executed
3 * Message do "somthing" send.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant