Skip to content

event ContTop

Sub-commandEventNeeds client
event ContTop {index}
uo.dll
ContTop

Also searchable as: event ContTop · bring gump to front · container top

event ContTop brings one of the open gumps to the front, as if you had clicked it. index counts the gumps from the top, the same way the #Cont… variables see them: 0 is the gump already on top, 1 the next one down, and so on. Gumps on the IgnoreCont list are skipped.

After it, the #Cont… variables describe the gump you brought forward.

; bring the second gump forward and see what it is
event ContTop 1
wait 5
display ok Now on top: #ContName
halt

The command needs the client function it calls to be known for your client version. On a client where it is not, nothing happens.

See also