[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

GetPluginName

Script function

world.GetPluginName

Read about scripting

Type

Method

Summary

Returns the name of the current plugin

Prototype

BSTR GetPluginName();

View list of data type meanings

Description

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


Available in MUSHclient version 3.23 onwards.



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.


See Also ...

Topics

Aliases
Arrays
Plugins
Scripting
Timers
Triggers
Variables

Functions

(BroadcastPlugin) Broadcasts a message to all installed plugins
(CallPlugin) Calls a routine in a plugin
(EnablePlugin) Enables or disables the specified plugin
(GetPluginID) Returns the 24-character ID of the current plugin
(GetPluginInfo) Gets details about a specified plugin
(GetPluginList) Gets a list of installed plugins.
(GetPluginTimerInfo) Gets details about a named timer for a specified plugin
(GetPluginTimerList) Gets the list of timers in a specified plugin
(GetPluginVariable) Gets the contents of a variable belonging to a plugin
(GetPluginVariableList) Gets the list of variables in a specified plugin
(IsPluginInstalled) Checks to see if a particular plugin is installed
(LoadPlugin) Loads a plugin from disk
(PluginSupports) Checks if a plugin supports a particular routine
(ReloadPlugin) Reloads an installed plugin
(SaveState) Saves the state of the current plugin
(UnloadPlugin) Unloads an installed plugin

(Help topic: function=GetPluginName)

Documentation contents page


Search ...

Enter a search string to find matching documentation.

Search for:   

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]