basically you just need to ask at the beginning of the script how many characters you have and that changes the mouseclick coordinate at the character selectQuote:
OK another question, so I wrote a code red elyos script for 8 characters but do I need to make different scripts since various accounts will have 5 or 7 but not always 8?
Download the Short Script Bundle and take a look at the auto morph script, it contains exactly what you need