Solved How do I make it so I can open the chest?

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

Marc

Active Member
Nov 27, 2020
94
0
8
17
Hey ive been trying to make a custom sellwand and I want to make it so that if it doesnt pick up that
you have a sellwand in your hand it will open the chest? ( Im pretty new to skript please dont judge my methods ) its still in the making ofc


on right click on chest:
"%region at player%" contains "__sw__":
cancel event
if player has blaze rod named "&6&lSellwand" in hand:
send message "good skript idot"
else:
if player does not have blaze rod named "&6&lSellwand" in inventory:
send message "get sellwand poopoo head"

command /Sellwand <player>:
aliases: /sw,
permission: op
permission message: no access
trigger:
give arg-1 1 blaze rod named "&6&lSellwand"
[doublepost=1606534626,1606481946][/doublepost]nvm I realized it shouldnt be in a region
 
Status
Not open for further replies.