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