Counting...steps? [resolved]

I know Modify Variable has an option for steps but that only counts the current number and therefore total in someway. Is there a way via eventing or scripting (scripting morely) to count every step after the script line/event has been activated, and then a conditional branch can be used to check if the step variable is equal or exceeded a certain number? Like, Pokemon egg hatching.
All you have to do is set a variable to the current number of steps. Then, when you want to check, set a second variable to the new current number. Then subtract the old variable from the new, and check the result.
Ah thank you. Silly noggin.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=71256