Morrowind Mod:MenuMode
The UESPWiki – Your source for The Elder Scrolls since 1995
MenuMode
MenuMode Type: Misc Returns: short Example: if ( MenuMode == 1 ) Scripts: anoScript AzuraEnd
Returns 1 if the player is currently in menu mode (i.e., has any inventory/magic menus open thus pausing the game). It is a good idea to separate your script logic into processing of commands in and out of menumode. Certain actions like using items are done when in menu mode.