ChatGPT Empowered Long-Step Robot Control in Various Environments: A Case Application