Question on Runing a script only once

I’ve got a movie that loads quotes automatically, and it continously loops, so that a variable that has been initialized in the 1st frame as 1 can increase. This allows the quote (there are 6) to be loaded sequentially.

But, it won’t run correctly…what the heck do i do?
(I’m a C programmer too, so I tried using “static” but that didn’t work)

Thanks for your help,
Andrew