Need help with some signs

  • 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 community!

    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.

Sythical

Member
Sep 7, 2020
2
0
1
Hello. So, I currently have a custom /sell skript, and what I want to create is the following:
I want to make it so if a player has a certain permission, if they place a sign on a chest and they type "[autosell]", every 30 seconds it would sell all the items in the chest and give the player that placed the sign the money, and make it so they can only place 1 of those autosell signs. This is what I currently have:

on rightclick:
if player's tool is sign:
if event-block is chest:
if 1st line of sign is "[autosell]":
send "hi" to player
[doublepost=1599837628,1599837535][/doublepost]The code is indented, not sure why its not indenting here tho.
 
Status
Not open for further replies.