API:ToggleGameMenu

Close all windows before it shows the game menu. ToggleGameMenu

Example
/script ToggleGameMenu;