Name PluginSupports
Type Method
Summary Checks if a plugin supports a particular routine
Prototype long PluginSupports(BSTR PluginID, BSTR Routine);
Description Checks to see if a specified plugin exists, and supports a specified routine.

For example:

If World.PluginSupports ("80cc18937a2aca27079567f0", "LogIt") <> eOK then
World.Note "Required 'LogIt' routine is not available"
End If



Note: Available in MUSHclient version 3.23 onwards.
VBscript example
If World.PluginSupports ("80cc18937a2aca27079567f0", "LogIt") <> eOK then
  World.Note "Required 'LogIt' routine is not available"
End If
Jscript example
If (World.PluginSupports ("80cc18937a2aca27079567f0", "LogIt") != eOK)
  {
  World.Note ("Required 'LogIt' routine is not available");
  }
PerlScript example
if ($world->PluginSupports ("80cc18937a2aca27079567f0", "LogIt") != eOK)   
 {
 $world->Note ("Required 'LogIt' routine is not available");
 }
Returns eNoSuchPlugin: Plugin not installed
eNoSuchRoutine: Specified routine cannot be found in that plugin
eOK: Called OK

See also ...