how to add a players inv slot to a list variable
command potato:
trigger
add slot 0 of player's inventory to {test::*}
send "%{test::*}%" to player
output: air
slot 0 has a diamond in it
command potato:
trigger
add slot 0 of player's inventory to {test::*}
send "%{test::*}%" to player
output: air
slot 0 has a diamond in it