#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.
Example
Section titled “Example”scangumpsfor #GumpIndex 1 #GumpCnt event sysmessage #GumpIndex : #GumpNamehalt