Skip to main content
Image

ModifierExists

Checks if a modifier exists and returns true if it exists.
Modifier
String
required
Checks if a modifier exists and returns true if it exists.
if CustomModifiers:ModifierExists("Example") then
    print("Exists!")
else
    print("Doesn't Exist!")
end

CategoryExists

Checks if a category exists and returns true if it exists.
Category
String
required
Checks if a category exists and returns true if it exists.
if CustomModifiers:CategoryExists("Example Category") then
    print("Exists!")
else
    print("Doesn't Exist!")
end

FloorExists

Floor
String
required
Checks if a floor exists and returns true if it exists.
if CustomModifiers:FloorExists("Example Floor") then
    print("Exists!")
else
    print("Doesn't Exist!")
end