world.GetPluginName

MUSHclient script function (Method) — introduced in version 3.23

Returns the name of the current plugin

Prototype

BSTR GetPluginName();

Data type meanings

Description

Returns the name of the currently-executing plugin. If no plugin is executing an empty string will be returned.

VBscript example

world.Note world.GetPluginName

Jscript example

world.Note (world.GetPluginName ());

PerlScript example

$world->Note ($world->GetPluginName ());

Python example

world.Note (world.GetPluginName )

Lua example

Note (GetPluginName ())

Return value

The name of the current plugin, or an empty string if no plugin is running.

Related topic

Plugins

See also

FunctionDescription
GetPluginIDReturns the 24-character ID of the current plugin
GetPluginInfoGets details about a specified plugin