tab

fun tab(tab: Game.Tab): Boolean

Attempts to open the specified game tab on the user interface. If the tab is already opened, it will return true.

Return

true if the tab is open, false otherwise.

Parameters

tab

The tab to switch to

hotkey

whether or not to use hotkeys to open the tab

fun tab(): Game.Tab

Returns the current tab which is opened.

Return

The open game tab.