Is it possible to use math() in a mix statement?
This is the my current attempt, but it's not working as expected:
~mix=21,[=math(4-abs(load(var_playingnowrating) - 10))],[my rating]=10,[=math(4-abs(load(var_playingnowrating) - 9))],[my rating]=9,[=math(4-abs(load(var_playingnowrating) -
)],[my rating]=8,[=math(4-abs(load(var_playingnowrating) - 7))],[my rating]=7,[=math(4-abs(load(var_playingnowrating) - 6))],[my rating]=6,[=math(4-abs(load(var_playingnowrating) - 5))],[my rating]=5,[=math(4-abs(load(var_playingnowrating) - 4))],[my rating]=4,[=math(4-abs(load(var_playingnowrating) - 3))],[my rating]=3,[=math(4-abs(load(var_playingnowrating) - 2))],[my rating]=2,[=math(4-abs(load(var_playingnowrating) - 1))],[my rating]=1
Or to break it down, I'm using the following syntax:
~mix=21,[=math(expression)],rule1,...
Is it possible? If so, what am I doing wrong?
Cheers,
Mark