[Condition] isModEnabled
Posted: Sun Oct 31, 2021 7:03 pm
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:
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