function randomTags(p: player):
set {_randomTags} to chest inventory with 3 rows named "GUI"
set slot (integers between 0 and 27) of {_randomTags} to gray stained glass pane named "&7"
loop 6 times:
set {_randomtag} to random element out of {tags::*}
set slot 13 of {_randomTags} to {_randomtag}
open {_randomTags} to {_p}
command /testing:
trigger:
randomTags(player)
how would i make it so the item which is under {_randomtag} would change x amount of times before telling them they wont {_randomtag}?