From GroupInitiative, I'm sending this string:
[[((@{Xilo|dexterity_mod} + @{Xilo|initiative} + @{Xilo|jack_of_all_trades})+(0.01*((@{Xilo|dexterity_mod} + @{Xilo|initiative} + @{Xilo|jack_of_all_trades})))) + (1d20)]][[((@{Ambriel|dexterity_mod} + @{Ambriel|initiative} + @{Ambriel|jack_of_all_trades})+(0.01*((@{Ambriel|dexterity_mod} + @{Ambriel|initiative} + @{Ambriel|jack_of_all_trades})))) + (1d20)]][[((@{Random|dexterity_mod} + @{Random|initiative} + @{Random|jack_of_all_trades})+(0.01*((@{Random|dexterity_mod} + @{Random|initiative} + @{Random|jack_of_all_trades})))) + (1d20)]][[((@{Clyde|dexterity_mod} + @{Clyde|initiative} + @{Clyde|jack_of_all_trades})+(0.01*((@{Clyde|dexterity_mod} + @{Clyde|initiative} + @{Clyde|jack_of_all_trades})))) + (1d20)]][[((@{Tederic|dexterity_mod} + @{Tederic|initiative} + @{Tederic|jack_of_all_trades})+(0.01*((@{Tederic|dexterity_mod} + @{Tederic|initiative} + @{Tederic|jack_of_all_trades})))) + (1d20)]]
and gettting back this as msg.content:
$[[2]][[((0 + 0 + 0)+(0.01*(($[[3]] + 0 + 0)))) + (1d20)]]6.0216.0316.99
There should only be a series of $[[#]] in there, but it is fully substituting the result value for some formulas and not fulling evaluating others.