
Could use a hand with this, not really something I've tried with R20 macros before. The aim is to take 70% of the party gold, divide the rest by the number of party members. Process flow: 1) Input in a number field the value of the total party gold earned. 2) Find 70% of that and value that number. the second part is to take that 70% and remove it from the total to display the remaining amount. 3) Ask for input on the number of party members and divide that amount by them. I some of the the parts but stuck with: Total Gold was ?{Total Gold|0} 70% for the city is ?{City Gold| [[ ((?{Total Gold})/100)*70 ]] } Total Party members ?{Total Party Members|0} Party split is [[ ?{City Gold|0} / ?{Total Party Members|0} ]] Not sure how to make that 70% output a variable so it can be called in the next stage.