Hi. I'm trying to make an ultimate magical item generator macro. So, you would roll for the class that the item would be for (general, rogue, warrior, mage, etc.) then for the type of item (weapon, armor, amulet, etc.), which is doable without API. Now here's where it gets complicated. Also want to link each different item to a specific roll table for the abilities. So a Generic sword has a different ability roll table than a Rogue armor would. This means that the Rogue armor (loot1, loot21, armor) is somehow linked to another table that the code remembers that anything from loot21 could access. This is what I think it would look like, but not sure: /em is amazingly lucky! They find a [[1t[loot[[1t[loot[[1t[loot]]]]]]]]] with a [[2t[lootStat]]] ! Don't steal it from them...