This will check if a plugin is loaded and if not, it will attempt to load it
ex. /call pluginCheck MQ2Melee
ex. /call pluginCheck MQ2Melee
Code:
sub pluginCheck(string pluginName)
/if (!${Plugin[${pluginName}].Name.Length}) {
/echo ${pluginName} was not found, attempting to load it.
/plugin ${pluginName}
/if (!${Plugin[${pluginName}].Name.Length}) {
/echo ${pluginName} could not be loaded.
}
}
/return