public void changeFormat(string nf) { //Do a quick error check for randombattle and ou //This allows users to type in ou and randombattle, and format it to //the now named gen7ou and gen7randombattle respectively String f = nf.ToLower(); if (f == "ou" || f == "randombattle") { f = "gen7" + f; } cwrite("Changing format to " + f.ToLower()); mainModule.changeFormat(f.ToLower()); }