Skip to content

Conversation

@WisoAltred
Copy link

… instead of having to spam it.

Adds a parser to any numbers after a detected \p for pause chat message, matches it upto a given max to be multiplied to a given base const. (The regex will limit this to 1000 regardless, but the const is hard-coded either way.). ordered them according to the pattern in courtroom.h but it would be nicer if they were not separated.

Also skips by the given amount of characters by calculating it via the text pos, so \p20 would skip 4, \p200 would skip 5, etc.

Currently technically silently fails if the user tries doing -1 or \p50000 or so, so it spits out any numbers beyond the initial 4 digits to at least indicate that.

… instead of having to spam it.

Adds a parser to any numbers after a detected \p for pause chat message, matches it upto a given max to be multiplied to a given base const. (The regex will limit this to 1000 regardless, but the const is hard-coded either way.). ordered them according to the pattern in courtroom.h but it would be nicer if they were not separated.

Also skips by the given amount of characters by calculating it via the text pos, so \p20 would skip 4, \p200 would skip 5, etc.

Currently technically silently fails if the user tries doing -1 or \p50000 or so, so it spits out any numbers beyond the initial 4 digits to at least indicate that.
format
format 2
@TrickyLeifa
Copy link
Contributor

Also skips by the given amount of characters by calculating it via the text pos, so \p20 would skip 4, \p200 would skip 5, etc.

I would suggest to rethink the design: if the user wants to pause for a certain duration, allow them to define directly how long they want to pause rather than having them memorize not only the command but the constant of the command they need to multiply by. From a user's standpoint I have no idea how I would be supposed to understand \p200 is going to skip 5 characters!

also removes unnecessary variables, as well as adds validation
@WisoAltred
Copy link
Author

Closing this and marking disapproved, as it messes with commit history, fix in a different PR.

@WisoAltred WisoAltred closed this Jan 29, 2026
@WisoAltred WisoAltred deleted the ChatTick-Pause-Multiplier branch January 29, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants