world.GetFrame

MUSHclient script function (Method)

Returns the address of the main MUSHclient frame window

Prototype

long GetFrame();

Data type meanings

Description

This returns the memory address of the main MUSHclient MDI frame. This is intended for advanced programmers who wish to access the MUSHclient window in their own programs.

Lua notes

In Lua the address is given as "light userdata" type. This is not particularly useful in Lua, however you can print it, and you could use it in custom-written programs.

Return value

The memory address of the main frame window.