| SetVariable |
|---|
| Script function world.SetVariable
Read about scriptingType Method Summary Sets the value of a variable Prototype long SetVariable(BSTR VariableName, BSTR Contents);
View list of data type meaningsDescription Sets the contents of a variable. If the named variable already exists the contents are replaced. If the variable doesn't exist it is created. Variables are contained in the "world" configuration, and saved when the world is saved. You can use variables to "remember" data from one session of MUSHclient to the next.VBscript example Jscript example PerlScript example Python example Lua example Return value
View list of return code meaningsSee Also ... Topics
Arrays
Plugins
Scripting
VariablesFunctions
DeleteVariable (Deletes a variable)
GetVariable (Gets the contents of a variable)
GetVariableList (Gets the list of variables)(Help topic: function=SetVariable)
Documentation contents page |