I am trying to run my code based on the change in the variable (More like an event based script). I don\'t want to use while loops to make it dynamic.
Is this possible ?