#Check amount of named items

1 messages · Page 1 of 1 (latest)

glossy isle
#

PLEASE HELP

hi guys - i find that my skript could not detect the number of a certain named item

    aliases: /bc
    trigger:
        set {_count} to item amount of player head with name "<##A3ABB4>Bee" in player's inventory
        send "%{_count}%"```
it returns a 0 when i have 3 of them in my inventory
clever bough
#

item amount

glossy isle
clever bough
#

That whole command shouldn't work, the version you sent here is not correctly indented

glossy isle
#

mistakenly without the indentation

glossy isle
#

push

glossy isle
#

push

left fiber
#

pull

#

If amount of X in Y (not item amount) doesn't work, you may have to resort to a bit of manual looping and counting