-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathSnoopEnemyPack.uos
39 lines (39 loc) · 1006 Bytes
/
SnoopEnemyPack.uos
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
getenemy 'friend' 'innocent' 'murderer' 'enemy' 'criminal' 'gray' 'closest'
if not listexists 'bags'
@createlist 'bags'
@pushlist 'bags' 0xe76
@pushlist 'bags' 0xe75
@pushlist 'bags' 0xe74
@pushlist 'bags' 0xe78
@pushlist 'bags' 0xe7d
@pushlist 'bags' 0xe77
endif
if @inrange 'enemy' 1 and @findlayer 'enemy' 21
@setalias 'Enemypack' 'found'
@pushlist 'bags' 'Enemypack'
else
@unsetalias 'Enemypack'
endif
if @findalias 'Enemypack'
//Snoop Found Pack
useobject! 'Enemypack'
for 0 to 'bags'
//Snoop All Bags inside Pack
while @findtype bags[] 'any' 'Enemypack'
pause 200
@pushlist 'bags' 'found'
setalias 'inside' 'found'
useobject! 'inside'
pause 600
//Snoop 2nd Level of Bags
while @findtype containers[] 'any' 'inside'
pause 200
@pushlist 'bags' 'found'
useobject! 'found'
pause 400
ignoreobject 'found'
endwhile
ignoreobject 'inside'
endwhile
endfor
@clearignorelist