Does VBScript have Increment Operators
X = X + 1
is the proper way of achieving what you're trying to do with X =+ 1
(which may just be setting X to 1 over and over again). In your usage however, you can take those lines out completely since the For X = 0 To Amount Step 1
should already be handling the increment for you.