UO.Ongump

Ask for help

Moderators: Murderator+, Murderator

Post Reply
alf666
Posts: 11
Joined: 2006-09-01 00:12:13

UO.Ongump

Post by alf666 »

I've noticed that using this command like this (for example):

UO.Ongump('anygump','(2')

it keep memory of the command and reply to an other successive uo.ongump command (the second in the same script) with the same reply of the FIRST uo.ongump typed line. There's a way to unset the command after use it?
Thanx!
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Post by Edred »

Code: Select all

OnGump command - autochoice buttons/checks/text in gumps 

Variant1a (repeat exact choice in exact gump): 
   ,ongump repeat 

Variant1b (repeat exact choice in any gump): 
   ,ongump superrepeat 

Variant2 (general form): 
   ,ongump GUMP [CHOICE] 
GUMP: identifyes gump, variants: 
   <serial>|anyserial <gumpid>|anygump      example: anyserial 0x00112233 
   anygump 
   lastgump 
   lastpos 
   pos <x> <y> 
   withtext 'text_part_to_seek'    example: withtext 'Blacksmith' 
   withcommand 'command_part_to_seek'   example: withcommand 'tilepic 60 295 5181' 
CHOICE: identifyes choice you make pressing buttons. 
Consist of 3 parts: 
1) (serial of) button you press to close gump e.g. 'Ok' (default is first button happend) 
   <button_serial>           example: 315 
   (button_number            example: (2 
   [image_serial             example: [0x01 
   lastbutton 
2) (serials of) checks and radios enabled on moment of pressing 1) 
   checks <ID1> <ID2> ...    example: checks 315 316 0x0102 
   checks (num1 (num2 ...    example: checks (1 (3 (8 
   lastchecks 
   nochecks 
3) (texts) what entered in textentry(es) (the same amount as in gump) 
   entryes 'txt1' 'txt2' ... example: entryes 'macrocheck' 
   lastentryes 
   noentryes 
So CHOICE have syntax: 
   [1) [2)] [3)]] 
Examples: 
,ongump repeat 
,ongump any 0x00001234 (1 
,ongump withtext 'Blacksmith' 315 nochecks entryes '10' 
,ongump anygump [0x0123 checks (1 316 entryes '10' 
Ни один скрипт не работает? Пора обновить [url=http://www.eof.nm.ru/FiLeS/uoloop.exe]Инжект[/url]...
Все работает, но хочется большего? Пора переходить на [url=http://stealth.od.ua/]стелс[/url]...
alf666
Posts: 11
Joined: 2006-09-01 00:12:13

Post by alf666 »

Ok, i've already saw that, but i can't see an "unset" parameter for this..
Post Reply