world.SetStatus

MUSHclient script function (Method)

Sets the status line text

Prototype

void SetStatus(BSTR Message);

Data type meanings

Description

This sets the status line (at the bottom of the screen) to the nominated text. It is useful for keeping track of things. The status line is separately maintained for each world.

VBscript example

world.setstatus "Current HP = " & Cstr (world.getvariable ("hp"))

Jscript example

world.SetStatus("Current HP = " + world.GetVariable("hp"));

PerlScript example

$world->SetStatus("Current HP = " . $world->GetVariable("hp"));

Python example

world.SetStatus("Current HP = " + world.GetVariable("hp"))

Lua example

SetStatus ("Current HP = ", GetVariable("hp"))

Lua notes

You can supply multiple arguments, which are concatenated together.

Return value

Nothing.

Related topic

Utilities

See also

FunctionDescription
NoteSends a note to the output window
SendSends a message to the MUD
SetCommandSends text to the command window
SetTitleSets the world window title