For example:
Variable = 1
Trigger once while true
.. Do stuff
'Do stuff' happens only once, instead on running every tick while Variable = 1. When Variable changes to anything else but 1, nothing happens, and when Variable becomes 1 again 'Do stuff' is again executed once.