
Hello! I'm very new to making macros. I've been trying to convert a Google Sheets I made to macros. On the Google Sheet I would create large tables of names and descriptors then use a formula creating a random number that searched the table, returned the result, and concatenated all the results together into a sentence structure. I'm trying to replicate this same process and have run into an issue. I've created the rollable tables for all the descriptors. Here's the macro I have so far: /w gm &{template:default} {{title=NPC Generator}} {{Species=[[1t[Species]]]}} {{Gender=[[1t[Gender]]]}} {{Motivation=[[1t[Motivations]]]}} {{Name=[[1t$[[0]]-First-$[[1]]]] [[1t$[[0]]-Last]]]}} {{Description=A [[1t$[[0]]-Size]] and/yet [[1t$[[0]]-Build]] $[[0]], with [[1t$[[0]]-Skin/Scales]] Skin/Scales, [[1t$[[0]]-Beard/Hair-Style]] [[1t$[[0]]-Beard/Hair-Color]] Beard/Hair/Horns, [[1t$[[0]]-Eyes]] Eyes, [[1t$[[0]]-Features]] Features, a [[1t$[[0]]-Voice]] Voice, [[1t$[[0]]-Clothing]] Clothing, and a [[1t$[[0]]-Temperament]] Temperament.}} {{Quirk=[[1t[Quirks]]]}} {{Attitude Towards Party=[[1t[Party-Attitude]]]}} {{Motivation=$[[2]]}} It's returning results like this for the description: A [[1tTiefling-Size]] and/yet [[1tTiefling-Build]] Tiefling, with [[1tTiefling-Skin/Scales]] Skin/Scales, [[1tTiefling-Beard/Hair-Style]] [[1tTiefling-Beard/Hair-Color]] Beard/Hair/Horns, [[1tTiefling-Eyes]] Eyes, [[1tTiefling-Features]] Features, a [[1tTiefling-Voice]] Voice, [[1tTiefling-Clothing]] Clothing, and a [[1tTiefling-Temperament]] Temperament. I'm kinda at a loss at what to do next or if this is even solvable in a macro. I've been using Gemini to help me iterate and test but this is the farthest I've been able to get before it starts going around in circles. The process I need is essentially this: Roll a Species, Gender, and Motivation. Use those rolls to fill in the appropriate rollable table names and return the result in line with other text to form the description statement. Any help is appreciated!