Proszę uprzejmie. Skrypt nie był testowany.
command /zamiana:
executable by: players
trigger:
set {_n} to amount of bone in player's inventory
if {_n} is 0:
send "&cNie posiadasz kości w ekwipunku." to player
stop
add 10 * {_n} to player's balance
remove all bone from player's inventory
send "&aZarobiłeś %10 * {_n}%$." to player
W razie ewentualnych problemów ze skryptem proszę dać znać.
Pozdrawiam.