case 1: // race { DWORD dwRace = MAIN_RACE_MAX_NUM; if (!*arg3) { ch->ChatPacket(CHAT_TYPE_INFO, "Enter race number"); return; } str_to_number(dwRace, arg3); if (dwRace >= MAIN_RACE_MAX_NUM) { ch->ChatPacket(CHAT_TYPE_INFO, "Race max number = 9 (0-8)"); return; } if (dwRace == tch->GetRaceNum()) { ch->ChatPacket(CHAT_TYPE_INFO, "He already is this race"); return; } tch->SetRace(dwRace); tch->ClearSkill(); tch->SetPolymorph(101); tch->SetPolymorph(0); } break;