Skip to content

#GumpIndex

VariableGumpsRead / writeNumberNeeds clientNew in Reforged
Set by
ScanGumps

Also searchable as: #GumpIndex · GumpIndex · gump index

#GumpIndex selects one entry of the snapshot ScanGumps took, the way #FindIndex selects one FindItem match. Set it to a number from 1 to #GumpCnt; #GumpName and the other #Gump… variables then describe that window. Entry 1 is the window in front (on client_beta.exe, its menu bar).

ScanGumps sets it to 1. Reading it gives the position selected. A position past #GumpCnt selects nothing, and the other #Gump… variables then read N/A.

scangumps
for #GumpIndex 1 #GumpCnt
event sysmessage #GumpIndex : #GumpName
halt

See also