Hello!
I want to freeze yhe function until some gump appear
something like that:
repeat
wait(10)
until "help dialog menu appear"
Using ,infogump
which one of this numbers will be allways the same?
serial 0x002278b1
gumpid 0x00000491
serial or gumpid?
and how to check it when some dialog appear?
Thank You, Bye
scripting help (repeat until some gump appear)
Moderators: Murderator+, Murderator
Well..
i tried this and it worked:
but is this the best way to do that?
as i said...
serial 0x002278b1
gumpid 0x00000491
One of this vars are always the same?
or it changes when new gumps are added on shard, or when the shard restarts?
functions like:
uo.lastgump( 'serial' ) uo.lastgump( 'gumpid' )
exists?
Bye bye,
thanks again!
i tried this and it worked:
Code: Select all
repeat
wait(100)
until uo.lastgump( 'replyed' ) == 0 and uo.lastgump( 'text', 4 ) == 'Platemail'
but is this the best way to do that?
as i said...
serial 0x002278b1
gumpid 0x00000491
One of this vars are always the same?
or it changes when new gumps are added on shard, or when the shard restarts?
functions like:
uo.lastgump( 'serial' ) uo.lastgump( 'gumpid' )
exists?
Bye bye,
thanks again!