If this, then that? I am really new to any kind of coding. So far, I do have some basic stuff. I have created a bunch of tables but am looking to see how to code something a bit more complicated. The first part is simple. 25% chance of Person, Creature, Thing, or Place. 1. if person is selected, it would use the resulting information gathered from 9 different tables to create a random NPC 2. If creature is selected, it would use the resulting information gathered from 1 "creature" table 3. If a thing is selected, it would select 3 random words taken from 5 separate tables (or to be easier, 1 or 2 words from each table) 4. If a place is selected, it would choose a location from 1 table. One of the choices on that table would also be determined by a choice from another separate table. Well... I hope this makes sense and is possible. Here is the most complicated macro I have so far... it is just choosing one item from 5 separate tables: &{template:default} {{name=Type of Tavern}} {{Available Rooms=[[1t[TavernRooms]]]}} {{Quality of Tavern= [[1t[TavernQuality]]]}} {{Innkeeper=[[1t[TavernInnKeep]]]}} {{Rumors to be heard=[[1t[TavernRumors]]]}} {{Innkeeper=[[1t[TavernInnKeep]]]}} {{Customer Service=[[1t[TavernCustomerService]]]}}