X is a variable
X = 0 or whatever value you need it to start at.
Try this:
"For X to 100"
---"For 0 to 10"
---"Do whatever in the inner loop"
Add 1 to X
(You can just add a blank event underneath the inner loop, and it will run when the inner loop is done.