Reports whether a plugin is currently enabled.
| Name | Type | Description |
|---|---|---|
name | string | The name of the plugin to check. |
true if a plugin with that name is enabled, otherwise false. Name comparison is case-insensitive.
if not hasPlugin("Core") then
log("Warning: Core plugin is missing!")
end