Skip to content

#GumpKind

VariableGumpsRead-onlyIDNeeds clientNew in Reforged
Set by
ScanGumps

Also searchable as: #GumpKind · GumpKind · gump kind

#GumpKind is the code of the window’s kind, the same value #ContKind gives for the gump on top, in the usual EUO format.

It changes with every client update. Don’t keep it in a script for long: to recognise a window, use #GumpTypeID for a server gump, #GumpArt or #GumpName for the others.

Reads N/A when no gump is selected: none is open, ScanGumps has not run, or #GumpIndex is past #GumpCnt.

scangumps
if #GumpKind = #ContKind
event sysmessage The window in front is the gump on top.
halt

See also