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

Built-in Variable Support #16

Open
sliptrixx opened this issue Dec 30, 2022 · 0 comments
Open

Built-in Variable Support #16

sliptrixx opened this issue Dec 30, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@sliptrixx
Copy link
Member

Currently, the cache dictionary (an optional package that can be added through the DefineManager) allows the commands to store and retrieve values on the C# end. However, it'll be nice to let the users' store values and retrieve them on the fly.

Here's an example where the user can save to a variable and use it later on

/set expected_hp 80
/setplayerhealth {expected_hp}

The built-in command clear can also be used to remove any set variable.

/clear {expected_hp}
@sliptrixx sliptrixx converted this from a draft issue Dec 30, 2022
@sliptrixx sliptrixx self-assigned this Dec 30, 2022
@sliptrixx sliptrixx added the enhancement New feature or request label Dec 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Planned
Development

No branches or pull requests

1 participant