There's a Melting' replica someone made. It's an alright example.
The process is as following:
- Define a "race_skins" script, returning the number of skins.
- Check the "bskin" variable in "create" script to find which skin to use (0 for A-skin, 1 for B-skin, and so on).