Skip to content

#GumpName

VariableGumpsRead-onlyStringNeeds clientNew in Reforged
Set by
ScanGumps

Also searchable as: #GumpName · GumpName · gump name

#GumpName is the name the client gives the kind of window selected by #GumpIndex, the same text as #ContName, with its spaces written as _. For example container_gump, paperdoll_gump, status_gump, skill_gump, BuffIcons_Gump, and generic_gump for every gump the server sends.

The names are the same on every client build, so a script can rely on them.

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

scangumps
for #GumpIndex 1 #GumpCnt
if #GumpName = generic_gump
event sysmessage A server gump is open: #GumpTypeID
halt

See also