please hel with ongump

The ways it works

Moderators: Murderator+, Murderator

Post Reply
ok1mgj
Posts: 1
Joined: 2017-03-06 19:39:15

please hel with ongump

Post by ok1mgj »

Hello all.
i have trouble with using uo.ongump() on our shard.

to create gate, i need to go through 2 gumps.

output from ,showjournal:
Gump 0x00380146 of type 0x00000196
Gump 0x00380146 of type 0x00000196 choiced 0x00000004
Gump 0x00380146 of type 0x00000198
Gump 0x00380146 of type 0x00000198 choiced 0x00000002

but because second gump is displayed imediately after pressing button on first gump, i have no time to set uo.ongump() for second gump.

is there any way to set uo.ongump() for more than one gump?
something like uo.waitmenu('menu1','select1','menu2','select2')


for single (first) gump i use this:

Code: Select all

uo.ongump('0x00380146','0x00000196','0x4')
uo.useobject('book')


thanks for any reply.
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Re: please hel with ongump

Post by Nmy »

sendgumpselect or lclick with mouse
Post Reply