
I have a two macros to distribute wealth among my players. First Macro accepts my input of cp, sp and gp, calculates how much gold each player gains and the remainder of copper and silver is stores in a "Bank" Character using these commands: !setattr --name Bank --mod --CP|[[ floor(floor(?{Copper}/100)/100)%?{Players} ]] !setattr --name Bank --mod --SP|[[ floor(floor(floor((([[?{Copper}]] + ([[?{Silver}]] * 10) + ([[?{Gold}]] * 100))%100)/10) + ((floor(([[?{Copper}]] + ([[?{Silver}]] * 10) + ([[?{Gold}]] * 100))/100)%?{Players})*10))) ]] I created a second macro to, at any point, distribute the wealth the bank has ammased between my players. I calculate how much gold accrued in silver and copper, this is then announced in chat and the remainder of cp and sp is to be written back into the bank char using these commands: !setattr --name Bank --set --CP|[[ floor(floor(@{Bank|cp}%100)%10) ]] !setattr --name Bank --set --SP|[[ floor(floor(floor((([[@{Bank|cp}]] + ([[@{Bank|sp}]] * 10) + ([[@{Bank|gp}]] * 100))%100)/10) + ((floor(([[@{Bank|cp}]] + ([[@{Bank|sp}]] * 10) + ([[@{Bank|gp}]] * 100))/100)%?{Players})*10))) ]] These commands do exactly what they are supposed to do, but about each 5th use, only the first command, writing cp into the bank character sheet, is executed. If I reset the bank character sheet and execute the macro again, it works fine. I get no error in either the Chat nor the mod output console. Since the macro works fine most of the time and I get no errors, I'm at a loss at what to do. Anyone else having issues of commands not being executed? Thanks