#How to loop specific gui slots

1 messages · Page 1 of 1 (latest)

kindred zinc
#

@runic mantle
how you would loop all slots in inventory ?

#

We encourage you to write code and try to achieve results by urself

#

Then you can come and tell us what does not work and what help is needed

kindred zinc
#
command /loop:
    permission: Admin.Permission
    trigger:
        loop integers from 9 to 44:
            set {_item} to slot loop-number of event-player's inventory
            {_item} is bread
            send "%loop-number% slot contains %{_item}%"
#

@runic mantle here is example how to loop something in specific slots...

try to understand what happens here and adjust it for your needs.