"HP := choose (60, 100, 124)" and it'll randomly choose one thing from the list you've provided, separated by the coma. In particular, I was thinking about how to apply this to say, a random inventory drop or addition for a more rpg like game. Also works with variables themselves, not just values.
"choose (HP := HP + 20, STR := STR + 2, SPD := SPD + 4)"
"$DEST := choose (@pg12, @pg14, @pg43) "
Another more complex example, using a list of 4:
choose (IF HP < 5 THEN HP := HP + 10 IF HP > 4 THEN HP := HP + 3, IF STR < 5 THEN STR := STR + 5 IF STR > 4 THEN STR := STR + 2, SPD := SPD + 4, MAXMANA := MAXMANA + STR)
I'm still a bit sketchy as to how it works - work in progress idea. But I think it would make radom events a lot easier to do and a lot more specific.