Solved Issue with list variables

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Scan

Member
Feb 20, 2021
10
1
3
17
I tried to use
"add 1 to {test::%{a} + 1%::1}".

Actually, I want to use "add 1 to {test::*::1}", but I realized that * must be at the end, so I used another way as above.

However, "add 1 to {test::%{a} + 1%::1}" also encountered an error "can't understand this condition". At first I thought the operation should not be used in variable name, so I used "1 + 1" and "arg 1 + 1" instead of "{a} + 1", but except for variables, everything worked well.

Why it encountered an error only when a variable is used and how can I fix it?
 
Status
Not open for further replies.