Custom actions: Allow regex groups to be used in commands #16
Labels
No labels
bug
dependabot
dependencies
documentation
duplicate
enhancement
go
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forquare/Manaha-Minder#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Given a pattern, something like
^set time to (?P<time>.*), allow the admin to use the group in a command. Something like:So if a player in Minecraft said
set time to day, then Manaha Minder would send the server command\time set day.NOTES:
Not sure if names groups like I mentioned above would be easiest, or positional matches like
\1,\5, etc...