Skip to content

#ContKind

VariableContainerRead-onlyIDNeeds client
uo.dll
ContKind

Also searchable as: #ContKind · ContKind · gump kind

#ContKind is a short code for the kind of the gump on top. Most gumps have one, so it tells whether a crafting menu, a runebook or something else is open. Like all #Cont… variables, it describes the gump on top: the one opened, clicked or moved last. Gumps on the IgnoreCont list are skipped.

The codes can change when the client is updated. Keep them in variables at the top of your script, so they are easy to change. IgnoreCont accepts a #ContKind value to skip that kind of gump.

set %craftmenu GHCE ; the crafting menu's #ContKind on your client
if #ContKind <> %craftmenu
display ok Open the crafting menu first.
halt

See also

Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.