Custom Rollover For Serialized Value フォローする

Legacy Poster

I have a label that has two serialized values. The first is Set and the second is Roll. I have the set properly serializing via script so that it rolls over from a variable named RollsPerSet. The issue is getting the Roll number to properly rollover after the RollsPerSet number is reached. The RollsPerSet could be any number between 7 and 13. ie there are some jobs printed by set that have 7 rolls or anyother number on up to 13.

Also of Note for the RollNum field the OnAutoSelected Event and the OnSerialize events have script specified.

How would I reset the Roll field back to 1 and where would I put it in the VB Script?