Need a script to retype key in gump

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
masterway
Posts: 4
Joined: 2007-02-23 00:03:18

Need a script to retype key in gump

Post by masterway »

Code: Select all

_____infogump_______
serial   0x0000aeee
gumpid   0x00000406
X   100
Y   60
1003   packet size
35   reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
    1] umppic 100 30 3
    2] umppic 120 80 5
    3] umppic 146 80 5
    4] umppic 162 80 5
    5] umppic 178 80 5
    6] umppic 194 80 5
    7] umppic 210 80 5
    8] umppic 226 80 5
    9] umppic 242 80 5
   10] umppic 258 80 5
   11] umppic 274 80 5
   12] umppic 282 80 5
   13] umppic 295 80 5
   14] umppic 120 260 5
   15] umppic 146 260 5
   16] umppic 162 260 5
   17] umppic 178 260 5
   18] umppic 194 260 5
   19] umppic 210 260 5
   20] umppic 226 260 5
   21] umppic 242 260 5
   22] umppic 258 260 5
   23] umppic 274 260 5
   24] umppic 282 260 5
   25] umppic 295 260 5
   26] esizepic 130 150 3000 185 2
   27] roppedtext 165 60 180 20 46
   28] roppedtext 130 95 180 20 46
   29] EXT 130 125 0
   30] EXT 185 125 0
   31] extentry 135 150 253 24 0 0
   32] ext 155 230 0
   33] utton 135 232 5411 5411 1 0
   34] ext 250 230 0
   35] utton 235 232 56 56 1 0
   36] roppedtext 165 270 180 20 46
Text: ____________
    0] afk check
    1] afk check
    2] Q5N3
    3] Retype the key
    4] Confirm
    5] Cancel
Reply: ___________
 [0001] primary reply
 Checks&Radios (0)
 Entryes (1)
  [0000] Q5N3
0000: 51 35 4e 33 -- -- -- -- -- -- -- -- -- -- -- -- : Q5N3


so.. I need a script to get the text key and retype it on the gump, how can I do this? or get the key and put in a variable for some retype script..

any help will be amazing.. thanks and sorry for the bad english!!
masterway
Posts: 4
Joined: 2007-02-23 00:03:18

Post by masterway »

nobody knows?
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

Code: Select all

sub afk()
    while 1
        if uo.LastGump('text',0) == 'afk check' and uo.LastGump('replyed') == 0 then
        uo.lclick( ? , ? )
        uo.say('uo.lastgump('text',2))
        endif
        wait(500)
    wend
end sub


I just writed it i dont know about working
masterway
Posts: 4
Joined: 2007-02-23 00:03:18

Post by masterway »

THANKS!!!!!!!!!!!!!! 8)
working perfect here! thank you so much!!!
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Post by Nmy »

masterway wrote:THANKS!!!!!!!!!!!!!! 8)
working perfect here! thank you so much!!!


omg it works :P :lol:
Post Reply