Hey guys,
I want to make a code that when you run the command /items, a gui opens with stuff which you can just take out and get, and if you run the command again, the gui will be filled again with those items.
The code i have now is:
But sadly this doesn't work. It gives an error that it can not understand the condition "format slot 1......"
Can you guys help me out?
[doublepost=1526556091,1526555195][/doublepost]
I got something to work,
But i can't take it out with shift-click. Is this possible to do?
I want to make a code that when you run the command /items, a gui opens with stuff which you can just take out and get, and if you run the command again, the gui will be filled again with those items.
The code i have now is:
code_language.skript:
command /items [<text>]:
trigger:
if arg-1 is not set:
open chest with 6 rows named "&bItems1" to player
format slot 1 of player with dirt
But sadly this doesn't work. It gives an error that it can not understand the condition "format slot 1......"
Can you guys help me out?
[doublepost=1526556091,1526555195][/doublepost]
Hey guys,
I want to make a code that when you run the command /items, a gui opens with stuff which you can just take out and get, and if you run the command again, the gui will be filled again with those items.
The code i have now is:
code_language.skript:command /items [<text>]: trigger: if arg-1 is not set: open chest with 6 rows named "&bItems1" to player format slot 1 of player with dirt
But sadly this doesn't work. It gives an error that it can not understand the condition "format slot 1......"
Can you guys help me out?
I got something to work,
code_language.skript:
add a gold block named "&eGold block" with lore "&cRight-click the end stone to win!" to player's current inventory
But i can't take it out with shift-click. Is this possible to do?