Skript: Can't understand this condition/effect

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

liam

Member
Feb 5, 2020
1
0
0
21
hello my name is liam and i just started with using skript but i ran into a problem.
when i reload my skript i get this error saying skript cant understand this condition/effect
i dont know what im doing wrong can someone help me

on rightclick on a anvil:
if player is alive:
cancel event
open chest with 3 rows named "&8&lAnvil" to player
set slot 10 of player with leather named "&8&lArmor" to player

and yes there are tabs in front of the lines
here is a screenshot:
https://gyazo.com/8f5847bb25905f5d8a261ad5493d20cb

when i rightclick the anvil i do get a chest with 3 rows named anvil but there is no piece of leather
 
Code:
set slot 10 of player's current inventory to leather named "&8&lArmor"

Use this

Nic
 
Status
Not open for further replies.