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

Variables

You can store any number of user-defined variables, which are "strings" - that is they can hold any text, including multiple lines. These are saved when you save the "world" file, so each world can remember things from one session to the next (eg. the names of potions you have found).

You can also store variables inside plugins. If the plugin is set to "save state" then any variables inside that plugin are automatically saved when the plugin closes.


See Also ...

Topics

Arrays
Plugins
Scripting

Command

(ConfigureVariables) Sets program variables

Dialogs

Edit variable
Variables configuration (list)

Functions

(DeleteVariable) Deletes a variable
(GetVariable) Gets the contents of a variable
(GetVariableList) Gets the list of variables
(SetVariable) Sets the value of a variable

(Help topic: general=variables)

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]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]