Script Error

  • 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.

C_Chino51

Member
Jan 8, 2020
1
0
1
24
[14:04:18 ERROR]: [Skript] {_c} can only be set to one object, not more (shop.sk, line 183: set {_c} to lore of click item')


What should I do?
 
Send us your code
[doublepost=1579020281,1578924887][/doublepost]Looking at the line of code provided by the error, it won't let you set {_c} to that item because it has more than 1 in that slot. Try doing this:
Code:
add click item to {c::*}
 
[14:04:18 ERROR]: [Skript] {_c} can only be set to one object, not more (shop.sk, line 183: set {_c} to lore of click item')


What should I do?
Lore is a list, so you need to store it in a list variable.
 
Send us your code
[doublepost=1579020281,1578924887][/doublepost]Looking at the line of code provided by the error, it won't let you set {_c} to that item because it has more than 1 in that slot. Try doing this:
Code:
add click item to {c::*}
Not really sure what you read there but you're way off.

The issue is the lore, as TP said, lore is a list, soooo....
code_language.skript:
set {_c::*} to lore of player's tool
 
Status
Not open for further replies.