IsModLoaded

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(isLoaded:bool) IsModLoaded modName:string

Returns 1 if the specified .esp or .esm is currently loaded. String is case-insensitive but must include the file extension. The mod name must be enclosed in quotation marks.

Example:

Set mod to IsModLoaded "example.esp"