[Condition] isModEnabled

Post Reply
User avatar
Raddeck
LP Manager
Reactions: 1
Posts: 508
Joined: Sat Oct 16, 2021 6:22 pm
Location: LpWorld
Contact:

Post 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
Like my work? Buy me a coffee or support me on Patreon to keep it coming. :ugeek:
-Don't PM me for support-
Top
Post Reply