Page 1 of 1

[Condition] isModEnabled

Posted: Sun Oct 31, 2021 7:03 pm
by Raddeck
isModEnabled(ModID)


USE:
Check if a mod, identified by its ID in its .lpmod file, is enabled.


TYPE: Condition, non-Ref
RETURNS: bool
THEME: Mods
COMPARE:


EXAMPLE:
If you want to check if vin_VanillaPorn mod is enable, you will do:

Code: Select all

    If isModEnabled(vin_VanillaPorn)
        "Some really silly porn plot is going to happen!"
    Endif