Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add do while loops #4122

Merged
merged 4 commits into from
Jun 29, 2021
Merged

Conversation

APickledWalrus
Copy link
Member

Description

This PR adds do while sections to Skript. While they may not be needed often, I figured we might as well have the option easily available for users. I have also added a test for SecWhile in a new sections folder of the tests.


Target Minecraft Versions: Any
Requirements: None
Related Issues: No - request was on Discord

@APickledWalrus APickledWalrus added the feature Pull request adding a new feature. label Jun 26, 2021
Copy link
Contributor

@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 👍

@APickledWalrus
Copy link
Member Author

I need to make some changes to make sure that the variable tracking whether or not it has done one iteration is reset.

@ShaneBeee ShaneBeee merged commit 41be19b into SkriptLang:master Jun 29, 2021
@APickledWalrus APickledWalrus deleted the feature/do-while branch September 6, 2023 21:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature Pull request adding a new feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants