Multiples of a number

Blitz3D Forums/Blitz3D Programming/Multiples of a number

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I know there is probably an extremely easy way to do this, but I never think clearly around this time. Anyway, what I'm trying to do is find out a multiple of a number.

In my game, there are 25 levels, and 5 level skins. All the levels are identical, except for the skins? How would I make levels 1, 6, 11, 16, 21 all have skin 1, and levels 2, 7, 12, 17, 22 all have skin 2, etc?