Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Recursive Table] Passing a macro result to recursive table

As can be seen below I'm trying to concatenate a string in a macro to get a table name to pass to the Recursive Table script. It's bringing the query of #GetBiome up to select the biome, but then does nothing else.  !rt  [[1t[hg#GetBiome ]]] #GetBiome ?{Mountains|Grassland|Forest|Shore|Graveyards|Caves} I'm sure I'm doing something wrong. Just don't know what. Any help will be appreciated.
1630076416
timmaugh
Pro
API Scripter
It is trying to include that extra space after your macro call as part of the table name... so it is looking for "Mountains " (space included)... and not finding it. The only way to get a space into a table's name is to type it somewhere else, then cut/paste with the trailing space included. A better alternative would be to use a macro mule character, and instead of using a macro, refer to the ability on that character: !rt [[1t[hg%{Mule|GetBiome}]]] h/t: Scott C. for helping to clarify this for me.
I wasn't trying to place a space behind the macro call, but without it the macro was never called and Recursive Table saw the table name as "hg#GetBiome" Your solution worked perfectly! Thanks to you and Scott C.