Yoko

All sides of Injection
It is currently 2026-01-16 13:14:28

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2010-01-17 03:34:53 
Offline

Joined: 2009-03-10 09:43:01
Posts: 78
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


Top
   
 Post subject:
PostPosted: 2010-01-17 03:49:08 
Offline

Joined: 2009-03-10 09:43:01
Posts: 78
Well..

i tried this and it worked:

Code:
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!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited