Solved [Skript] Possible name conflict of 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.

kenkencw

Active Member
Jan 31, 2017
68
0
0
31
Malaysia
www.huskycraftmc.com
my codes is coded perfectly, but some codes says conflict.
in what case skript will detected as conflict?

code_language.skript:
[Server thread/WARN]: [Skript] Possible name conflict of variables {test::%player%} and {test::*} (there might be more conflicts). (test.sk, line 32: delete {test::%player%}
 
If you have an expression at the start of a list variable, it will trigger the message as there is a possibility that another expression might match it and overwrite the existing variable.
 
It just means that with the variable namings you're using, Skript thinks you may accidentally have variables overwriting each other. The warning can be disabled in the config, which I did, as I found it was always wrong and usually annoying.
 
Status
Not open for further replies.