I have this code so far
on swap hand items:
if {cd.%player%1} is not set:
set {cd.%player%1} to true
event-player's tool is a light blue dye named "&3&lTest"
execute console command "/give %player% diamond_pickaxe{display:{Name:'[{"text":"test pickaxe","italic":false}]',Lore:['[{"text":"Test Lore","italic":false}]']}} 1"
wait 300 seconds
delete {cd.%player%1}
but Skript doesn't understand the condition/effect of this line: execute console command "/give %player% diamondpickaxe{display:{Name:'[{"text":"test pickaxe","italic":false}]',Lore:['[{"text":"Test Lore","italic":false}]']}} 1" but it can understand "/give %player% diamondpickaxe"
Posted by: Underrated_Fishy from the skUnity Discord. View the thread on skUnity Discord here
on swap hand items:
if {cd.%player%1} is not set:
set {cd.%player%1} to true
event-player's tool is a light blue dye named "&3&lTest"
execute console command "/give %player% diamond_pickaxe{display:{Name:'[{"text":"test pickaxe","italic":false}]',Lore:['[{"text":"Test Lore","italic":false}]']}} 1"
wait 300 seconds
delete {cd.%player%1}
but Skript doesn't understand the condition/effect of this line: execute console command "/give %player% diamondpickaxe{display:{Name:'[{"text":"test pickaxe","italic":false}]',Lore:['[{"text":"Test Lore","italic":false}]']}} 1" but it can understand "/give %player% diamondpickaxe"
Posted by: Underrated_Fishy from the skUnity Discord. View the thread on skUnity Discord here