#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.
Example
Section titled “Example”scangumpsif #GumpKind = #ContKind event sysmessage The window in front is the gump on top.halt