ContKind

From Wiki
Revision as of 19:46, 15 August 2005 by Panther.sn (Talk | contribs)

Jump to: navigation, search

#contKind

Container System Variables

Description

The #contKind system variable determines the kind of the currently selected container/gump. Most menus have a kind attached to them. The can be utilized to find out if a crafting menu is open, if something is being dragged, if a runebook is open and many other things.


Note: This variable can change every time a new patch is released for the client. Good scripting standards dictate that you use variables in top of your script for #contKind's. This way they can easily be updated if the client is patched.

Example

...
if #contKind <> %craftMenuKind
     gosub useNewTool
...

See Also

#contPosX #contPosY #contID #contType

Main_Page Documentation Container System Variables