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

Rollable tables help request with script

Hello all!  I'm trying to set up a script that references tables in order to give the basic weather for the day in that window.  I basically copied another script I found in the Wiki but am having problems. I have already set up the tables with the names as within the brackets, such as [[ 1t[Forest-Weather] ]] referencing the table titled Forest-Weather.  But I have a script problem because the script creates the drop down menu correctly, but then it seems to roll a 0d0 and then prints "0" in the chat window.  Does anyone see what I am doing wrong? [[?{Environment you are in|Coastal, [[ 1t[Coastal Weather] ]]|Forest, [[ 1t[Forest-Weather] ]]|Desert, [[ 1t[Desert Weather] ]]|Grassland, [[ 1t[Grassland Weather] ]]|Mountain, [[ 1t[Mountain Weather] ]]|Ocean, [[ 1t[Ocean Weather] ]]} ]] Thank you!
1471055903

Edited 1471055949
Removing a layer of inline rolls should allow this to work. e.g. [[ 1t[?{Environment|Coastal|Forest|Desert|Grassland|Mountain|Ocean}-Weather] ]]
Thank you Silvyre! It works!! Lol
Silvyre the Macromancer!