I cant figure out how to prevent enchanting a stack of items. it says there's no item stack in a command event but I refuse to believe its just impossible...
is there a way to do what im trying do to?
Code:
command /weaponenchantspls:
description: Random enchant random chance.
cooldown: 2 days
cooldown message: Tough luck! Try again tomorrow! %remaining time%
cooldown bypass: randomenchant.pls
trigger:
if weapon of player is number between 2 and 64 of item:
send "&c&lSorry, but nice try." to player
exit
if weapon of player is air:
send "&c&lPlease hold the item you want to enchant." to player
exit
if weapon of player is enchanted:
send "&c&lThat item is already enchanted." to player
exit
send "&a&lGoodluck!"
Code:
if weapon of player is number between 2 and 64 of item:
send "&c&lSorry, but nice try." to player
exit
is there a way to do what im trying do to?