Skip to content

Add expression to parse conditions.#907

Open
Fusezion wants to merge 4 commits intoShaneBeee:dev/featurefrom
Fusezion:enhancement/parse-condition
Open

Add expression to parse conditions.#907
Fusezion wants to merge 4 commits intoShaneBeee:dev/featurefrom
Fusezion:enhancement/parse-condition

Conversation

@Fusezion
Copy link
Collaborator

Describe your changes

This PR aims to add the ability for players to parse strings as conditions.
Unlike its counterpart parse effect it has a small design change and some quirky issues in Skript's parser.
Despite those issues I believe users can still find uses for it and majority can be solved by a single variable object.

This was originally created to help a friend with their gui project of defining actions like [COMMAND] say hello, since they needed conditionals figured it was easier to have this instead of [CONDITION] <player> is op and have it do set {_x} to parse effect "set {_result} to whether %{_input}%"


Target Minecraft Versions: any
Requirements: none
Related Issues: none

Checklist before requesting a review

@Fusezion Fusezion requested a review from ShaneBeee January 31, 2026 20:58
@Fusezion Fusezion added the enhancement 👷🏼‍♂️ New feature or request label Jan 31, 2026
Copy link
Owner

@ShaneBeee ShaneBeee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small doc nitpick

Co-authored-by: Shane Bee <shanebolenback@me.com>
@Fusezion Fusezion requested a review from ShaneBeee February 1, 2026 17:44
@Fusezion Fusezion requested a review from ShaneBeee February 3, 2026 19:15
@Fusezion
Copy link
Collaborator Author

Fusezion commented Feb 3, 2026

Sorry about the delay here, I ended up on that couch all day yesterday

Copy link
Owner

@ShaneBeee ShaneBeee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@ShaneBeee ShaneBeee deleted the branch ShaneBeee:dev/feature February 22, 2026 16:35
@ShaneBeee ShaneBeee closed this Feb 22, 2026
@ShaneBeee ShaneBeee reopened this Feb 22, 2026
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants