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

Extend variables functionallity #1028

Closed
KingJulian13 opened this issue Dec 27, 2019 · 1 comment
Closed

Extend variables functionallity #1028

KingJulian13 opened this issue Dec 27, 2019 · 1 comment
Labels
Feature Request New feature or request.

Comments

@KingJulian13
Copy link

KingJulian13 commented Dec 27, 2019

Feature request

This request is meant to discuss about ideas and my examples are probably far from perfect, but before digging into a whole redefinition of variables, I would like to get some feedback.

Some variables should be extended with more subcommands to extract more and detailed information out of them and maybe even extended by some parsing logic.

Examples:

Additionally OR as a replacement, some kind of regex parsing would allow the same results as the single coordinates in locations and probably even more to fit a variables syntax to your conversations needs.

Examples:

  • Based on Java String.substring: %string.substr:5,7,location% to only print letters 5-7 of a location.
  • Based on Regex & replace: %string.replace:';','-',location% to replace every ; to - in a location. (Haven't thought about a good way to include .yml critical symbols yet)

This feature request should be taken in consideration together with my other request to add more variables but I separated them, as they request different types of changes

Checklist:

@J0B10
Copy link
Member

J0B10 commented Dec 31, 2020

Moved to #1355

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request.
Projects
None yet
Development

No branches or pull requests

3 participants