Minecraft Version: 1.8
Plugin: SKquery, TuSKe
Hello guys, im trying to open gui chest and format slot 10th with stone pickaxe.
Exception: when pressing on that pickaxe GUI must close and run "buy 1"
Issue: 1st: pickaxe does not show up and 2nd: command is not running (if type /buy 1 it works fine) and yes {toollevel.%player%} is actually 1
UPD: If I replace SKquery code with TuSke, so with line:
Im getting no effect, and with line
No pickaxe appears until Im pressing slot 10 by myself, right after that pickaxe appears.
where am I wrong?
Plugin: SKquery, TuSKe
Hello guys, im trying to open gui chest and format slot 10th with stone pickaxe.
Exception: when pressing on that pickaxe GUI must close and run "buy 1"
Issue: 1st: pickaxe does not show up and 2nd: command is not running (if type /buy 1 it works fine) and yes {toollevel.%player%} is actually 1
code_language.skript:
on right click with gold ingot:
cancel event
open chest with 3 rows named "&4ASK" to player
if {toollevel.%player%} is 1:
set {_toolslot} to "stone pickaxe named ""&cUpgrade"""
format slot 10 of player with {_toolslot} to close then run "buy %{toollevel.%player%}%]"
command /buy <number>:
trigger:
if arg 1 is 1:
remove wooden pickaxe from player
give stone pickaxe to player
UPD: If I replace SKquery code with TuSke, so with line:
code_language.skript:
create a gui slot 10 of player with {_toolslot} to run player command "buy %{toollevel.%player%}%"
Im getting no effect, and with line
code_language.skript:
create a gui slot 10 of player with stone pickaxe named "&cUpgrade" to run player command "buy %{toollevel.%player%}%"
No pickaxe appears until Im pressing slot 10 by myself, right after that pickaxe appears.
where am I wrong?