Hi i wnat to make that when someone crafts for the first time an anvil to get one special item and when they craft it the second time to not get anything i used this skript
variables:
{_times} = "0"
on craft:
if event-item is anvil:
if {_times} is "1":
send ""
if {_times} is "0":
set {_times} to "1"
give player 1 amethyst shard named "&6&lFirst Join" with lore "&fAcesta este un badge [&7COMUN&f], pentru mai multe informati scrie /badge"
variables:
{_times} = "0"
on craft:
if event-item is anvil:
if {_times} is "1":
send ""
if {_times} is "0":
set {_times} to "1"
give player 1 amethyst shard named "&6&lFirst Join" with lore "&fAcesta este un badge [&7COMUN&f], pentru mai multe informati scrie /badge"