IsModLoaded

From the Oblivion ConstructionSet Wiki
Revision as of 19:40, 31 August 2009 by imported>Arthmoor (Syntax not about quotation marks, added example use.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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"