Has anyone developed a switch macro? I want to implement a status system that will report on status and appearance screens according to what value the stats have, but it's a little cumbersome to write:
<<if $confidence / 10 eq 5>>You are the master of yourself and your surroundings. Nothing happens that you aren't ready for, and you have an unshakable belief in yourself.<<endif>><<if $confidence / 10 eq 4>>You project an air of confidence, a strong faith in yourself.<<endif>><<if $confidence / 10 eq 3>>You are a bit cocky, willing to try anything.<<endif>><<if $confidence / 10 eq 2>>You are a bit unsure of yourself, and find yourself wanting to play things safe more often than not.<<endif>><<if $confidence / 10 eq 1>>You have little self-esteem, and little doubt that whatever challenge presents itself, you are not up to the task.<<endif>><<if $confidence / 10 eq 0>>You are meek, shy and unassuming. You quail in the presence of strangers and large crowds.<<endif>>
What I'm looking for is to style it more after a switch, like so:
<<switch $confidence / 10>><<case 5>>blablabla<<case 4>>blablabla . . . <<case 0>>blablabla<<endswitch>>
Is this possible?