sub asd var bb 0x0E21 dim 37 38 39 40 dim 14 -2 -1 -2 -2 -2 -2 -1 10 1

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
sub asd()
var i, bb = '^0x0E21'
dim a[4]
a[0] = 37
a[1] = 38
a[2] = 39
a[3] = 40
dim x[14]
x[0] = '-2'
x[1] = '-1'
x[2] = '0'
x[3] = '1'
x[4] = '1'
x[5] = '-2'
x[6] = '-2'
x[7] = '-2'
x[8] = '-2'
x[9] = '-1'
x[10] = '0'
x[11] = '1'
x[12] = '1'
x[13] = '1'
dim y[14]
y[0] = '0'
y[1] = '1'
y[2] = '1'
y[3] = '1'
y[4] = '0'
y[5] = '1'
y[6] = '-1'
y[7] = '-2'
y[8] = '-3'
y[9] = '-3'
y[10] = '-3'
y[11] = '-3'
y[12] = '-2'
y[13] = '-1'
var k = 0
while 1
uo.usetype('0x1F08')
for i = 0 to 3
uo.press(a[i])
wait(15)
next
uo.usetype('0x1413')
k = k + 100
if k == 30000 then
k = 0
for i = 0 to 13
uo.findtype('0x0E21', '-1', 'backpack' )
if uo.findcount() then
uo.drop('1', x[i], y[i], '0', 'finditem')
wait( 500 )
endif
wait(50)
next
endif
wend
endsub