I need to go to work in a few minutes. I leave it to you to do something cool while I'm away.
<Button A="10" B="20" OnPress="Parent.Bool.Visible=(A)<(B)" ...
<Page OnShow="(script)" OnHide="(script)"
Yup, that's how you do IF statements. You set an event-triggering Boolean (aka true/false) property to the true/false value of the statement, and put a script in the object's corresponding event.
Supported operators:
==
<
>
Not supported directly:
!= (Replace with Parent.Bool.Visible=
(!(A)==(B))
<= (Replace with Parent.Bool.Visible=
(!(A)>(B))
>= (Replace with Parent.Bool.Visible=
(!(A)<(B))
(I may be using more parenthesis than I actually need.)
One step closer to world domination!
Attached demonstration Persona window that doesn't do anything useful.
And you can see that I stumbled on this while attempting to combine text strings.