Hello, i have a question at lists. There isnt a whole lot to say. But how can i get a list to show the items in it stacked? Here is what i mean.
Im trying to show my lists like this:
dirt
stone
gold
diamond
When i display the list now, it looks like this: "dirt stone gold and diamond
Im trying to loop the list, and set a var to the value of the list. But its not working. This is the code here to loop the list and display it in the lore of the slot.
{_i} is the items in the list
If anyone knows how to make this work, please let me know asap.
Thanks!
~Matt
Im trying to show my lists like this:
dirt
stone
gold
diamond
When i display the list now, it looks like this: "dirt stone gold and diamond
Im trying to loop the list, and set a var to the value of the list. But its not working. This is the code here to loop the list and display it in the lore of the slot.
Code:
loop {kit::%{_k}%::items::*}:
set {_i} to loop-value
if {_k} is set:
set slot {_f} of {_P}'s current inventory to glowing obsidian named "&c&l%{_k}%" with lore "&8&m--+---------------------+--", "&8* &bKit name: &c&l%{_k}%", "&8* &aCooldown: &c%{kits::cooldown::%{_k}%}%", "&8* &d&lItems: &5%{_i}%"
If anyone knows how to make this work, please let me know asap.
Thanks!
~Matt