macro rollable table

Free account here, probably going to upgrade to sub very soon... Looks like I need to be sub to create rollable table or do I need my GM to create one for me to use? Wanting to create a macro that will roll 1d10 and if possible what ever the resulting number is will then --whisper|self  the rollable table's value for that number...  to generate a semi random 'disguise' list for my Spy char in a 5E session. Will also permit me to add further 'disguises' as I create the persona by appending the new value to the table in question and adjusting the roll to suit in the macro.  Granted I could just keep this list on my character sheet's BIO but, I kinda want to keep it semi-secret.
You don't need to be a sub to use rollable tables but as far as I know they can only be created by the GM. As for rolling a whispered d10 to yourself if you only need the number value you can just use /w Michael [[1d10]] to roll the d10 to yourself. Rollable tables are useful for text outputs though if you wanted to make each entry a disguise that way when you roll rather than seeing a 9 and having to check a table to see what that means you'll just be shown Merchant straight away. Hope that all made sense. :)
That sounds almost exactly like what I want... will have to get my GM to create the table for me then. And yes I would very much like to just hit the macro and it display to me the resulting text from a random field of the table.
You can still whisper the result of the roll to yourself with /w Michael [[1t[table-name]]]  . You can also add pictures to each 'side' of the table so if you have a particular look for your disguises you can add that too. Lastly you can make a rollable table into a rollable token that you can 'roll' to show a different image so your token can represent the disguises you have, although I feel this may go against the secrecy of your disguises you wanted.  You can find more about Rollable Tables here :  https://wiki.roll20.net/Collections#Rollable_Tables
Well after reading that wiki article, it wont be super secret anyways.  lol  Most of our session don't know as much about 5E or roll20 to begin with, and I geeked out over the features.  I came from using maptools and learning how to code its crazy framework stuff and this is by far soo much better. I'll have to provide the GM with full details of the table i am requesting for him to create it... sucks that he can't create the table and grant me access to edit it, then lock it from further edits once I am done.  oh well.  Not to mention that if I am not mistaken that the tables are either player 'useable' or 'not' and not able to be flagged for specific players... 
Kinda wish there was a way to create a table with a chat command, sorta like the form of a json array... &{Table_Name}, {Field_1, Weight, IMG}, {Field_2, Weight, IMG}
I'm pretty sure that's right but if they don't know much about roll20 I doubt they are going to roll on the table to find out it's entries, it's not exactly something you can accidentally do haha
can you include an in-line die roll in the value of a table field?  so far it seems to just output it as pure text :(  and not the final value of a pre-defined die roll.    Example: [[100+(2d8*3)]]  instead of 106 through 148, it just prints it as listed
It doesn't look like it, rollable tables seem to take every 'side' as just a string. Even macros and queries which are higher in the order of operations than in-line rolls aren't executed properly, so I can't even think of a work-around sorry
1507096707
Silvyre
Roll20 Mod Team
Michael J. said: can you include an in-line die roll in the value of a table field? Unfortunately, this is not possible without the assistance of an API Script . (API access requires a Game's Creator to have an active Pro subscription.) The API Script RecursiveTables makes this possible.
It's all good, thanks for the help though.  I think I was starting to get it to be a tad more complicated then it really needs be.  I know some of my idea is just impossible with the way the system is designed to function currently and probably in the future too, but I feel like there is potential for a work-around for some of what I want to do with it.  The ability to code with IF statements would be grand but I know that isn't in the cards. &{template:default} {{name=Master of Many Faces}} {{Hair=[[1t[Hair-Color]]]}} {{Eyes=[[1t[Eye-Color]]]}} {{Skin=[[1t[Skin-Color]]]}} {{Race, Gender, Age, Height & Weight=[[1t[Race-Gender-Age-Height-Weight]]]}} With the above macro, I have so far functional... the Hair, Eye, and Skin Color tables... the last section is where I hit the snafu.  Being a Half-Elf I was trying to limit possible non-magic disguises to Elf, Male/Female, Half-Elf, Male/Female, and Human, Male/Female. With DnD 5E I have a rather large selection of possibilities for age, height, and weight... but kinda need them to fall into the pre-defined race/gender catagories Elf, Male 110 yrs 64+2d8 in. 100+(2d8*3) lbs. Elf, Male 110+4d6 yrs 64+2d8 in. 100+(2d8*3) lbs. Elf, Male 110+6d6 yrs 64+2d8 in. 100+(2d8*3) lbs. Elf, Male 110+10d6 yrs 64+2d8 in. 100+(2d8*3) lbs. Elf, Male 175 yrs 64+2d8 in. 100+(2d8*3) lbs. Elf, Male 263 yrs 64+2d8 in. 100+(2d8*3) lbs. Elf, Male 350 yrs 64+2d8 in. 100+(2d8*3) lbs. Elf, Female 110 yrs 64+2d6 in. 90+(2d6*3) lbs. Elf, Female 110+4d6 yrs 64+2d6 in. 90+(2d6*3) lbs. Elf, Female 110+6d6 yrs 64+2d6 in. 90+(2d6*3) lbs. Elf, Female 110+10d6 yrs 64+2d6 in. 90+(2d6*3) lbs. Elf, Female 175 yrs 64+2d6 in. 90+(2d6*3) lbs. Elf, Female 263 yrs 64+2d6 in. 90+(2d6*3) lbs. Elf, Female 350 yrs 64+2d6 in. 90+(2d6*3) lbs. Half-elf, Male 20 yrs 62+2d8 in. 110+(2d8*5) lbs. Half-elf, Male 20+1d6 yrs 62+2d8 in. 110+(2d8*5) lbs. Half-elf, Male 20+2d6 yrs 62+2d8 in. 110+(2d8*5) lbs. Half-elf, Male 20+3d6 yrs 62+2d8 in. 110+(2d8*5) lbs. Half-elf, Male 62 yrs 62+2d8 in. 110+(2d8*5) lbs. Half-elf, Male 93 yrs 62+2d8 in. 110+(2d8*5) lbs. Half-elf, Male 125 yrs 62+2d8 in. 110+(2d8*5) lbs. Half-elf, Female 20 yrs 60+2d8 in. 90+(2d8*5) lbs. Half-elf, Female 20+1d6 yrs 60+2d8 in. 90+(2d8*5) lbs. Half-elf, Female 20+2d6 yrs 60+2d8 in. 90+(2d8*5) lbs. Half-elf, Female 20+3d6 yrs 60+2d8 in. 90+(2d8*5) lbs. Half-elf, Female 62 yrs 60+2d8 in. 90+(2d8*5) lbs. Half-elf, Female 93 yrs 60+2d8 in. 90+(2d8*5) lbs. Half-elf, Female 125 yrs 60+2d8 in. 90+(2d8*5) lbs. Human, Male 15 yrs 58+2d10 in. 120+(2d10*5) lbs. Human, Male 15+1d4 yrs 58+2d10 in. 120+(2d10*5) lbs. Human, Male 15+1d6 yrs 58+2d10 in. 120+(2d10*5) lbs. Human, Male 15+2d6 yrs 58+2d10 in. 120+(2d10*5) lbs. Human, Male 35 yrs 58+2d10 in. 120+(2d10*5) lbs. Human, Male 53 yrs 58+2d10 in. 120+(2d10*5) lbs. Human, Male 70 yrs 58+2d10 in. 120+(2d10*5) lbs. Human, Female 15 yrs 53+2d10 in. 85+(2d10*5) lbs. Human, Female 15+1d4 yrs 53+2d10 in. 85+(2d10*5) lbs. Human, Female 15+1d6 yrs 53+2d10 in. 85+(2d10*5) lbs. Human, Female 15+2d6 yrs 53+2d10 in. 85+(2d10*5) lbs. Human, Female 35 yrs 53+2d10 in. 85+(2d10*5) lbs. Human, Female 53 yrs 53+2d10 in. 85+(2d10*5) lbs. Human, Female 70 yrs 53+2d10 in. 85+(2d10*5) lbs. Now for the age's I would like to generate an age in a range for each tier, but not entirely sure how to go about that. but height and weight are just base values + modifiers. again, way more complicated then it needs be, and probably far outside the realm of functional as it stands.
What I ended up doing table wise, is created my own game for macro testing, and learning so I wouldn't spam the actual groups chat sessions with tests and what not... before I discovered /talktomyself But that allowed me to edit and create my "Master of Many Faces" macro and attempt to generate on the fly a random rough description to work with. sorta...
1507120323
Ziechael
Pro
Sheet Author
API Scripter
Onishiro said: I'll have to provide the GM with full details of the table i am requesting for him to create it... sucks that he can't create the table and grant me access to edit it...  What you can do  (if your GM is a pro subscriber) is have them make a new game (they need to be the creator of both!) that they promote you to co-GM in, you create the table there and they can then transmogrify it across to the main game without them having the burden of the work. But like I say, it relies on them having the right subscription level...
1507154143

Edited 1507154323
Yea I donated for him to become a premium, he'd have to upgrade to pro.  I think i have a work around for the die roll portions of the macro.  instead of table I'll just hard code it in. I'll just need to figure out how to simplify the above listed charts.  If I am not mistaken queries are dependent on a user's input and wont read from a variable?