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

Temp variables cleared after "retrieve skin" effect #2

Closed
HAHAYOUDEAD opened this issue Feb 15, 2019 · 4 comments
Closed

Temp variables cleared after "retrieve skin" effect #2

HAHAYOUDEAD opened this issue Feb 15, 2019 · 4 comments

Comments

@HAHAYOUDEAD
Copy link

Description

retrieve skin effect clears all temp variables set before, including function arguments

according to Nicofisi (from Sk Discord) this SkriptLang/Skript@237b3dd might be related

Steps to reproduce

command /test4:
    trigger:
        set {_test} to "hello"
        broadcast "<green>%{_test}%"
        retrieve skin of "Waltz" parsed as offline player with timeout 2 seconds into {_skin}
        broadcast "<light red>%{_test}%"

Output:
default

@TlatoaniHJ
Copy link
Owner

Skript version?

@HAHAYOUDEAD
Copy link
Author

2.3.5, latest Paper

@TlatoaniHJ
Copy link
Owner

If you can contact me in Discord, I can send you a version that should fix this issue.

@TlatoaniHJ
Copy link
Owner

(Issue resolved in Discord)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants