AutoDecipher T-Maps by Goapirat V1 by Goapirat
Description: ##############################################################
# AutoDecipher by GoaPirat V1
#
# This script deciphers all T-Maps in your backpack
##############################################################
# PREPERATION:
# * Have Spyglasses of same color in your backpack
# * doubleclick one spyglass and target a map
# * chosse the right color of your spyglasses in the gump
# * Start the script
#
##############################################################
1##############################################################
2# AutoDecipher by GoaPirat V1
3#
4# This script deciphers all T-Maps in your backpack
5##############################################################
6# PREPERATION:
7# * Have Spyglasses of same color in your backpack
8# * doubleclick one spyglass and target a map
9# * chosse the right color of your spyglasses in the gump
10# * Start the script
11#
12##############################################################
13@clearsysmsg
14// Spyglass
15if findtype 'spyglass' backpack -1 1 2 as 'MySpyglass'
16 while findtype 'map' backpack -1 1 2 as item
17 @clearsysmsg
18 getlabel item description
19 sysmsg description
20 pause 650
21 if insysmsg "100"
22 overhead "Maximum Accuracy" 55
23 ignore item
24 pause 650
25 @clearsysmsg
26 endif
27 //while not insysmsg "maximum accuracy" and not insysmsg "100"
28 dclick 'MySpyglass'
29 wft 500
30 overhead "decipher" 55
31 target item
32 waitforgump 1520869851
33 pause 650
34 gumpresponse 4
35 waitforgump 1520869851
36 pause 650
37 if insysmsg "maximum accuracy"
38 overhead "Maximum Accuracy" 55
39 ignore item
40 pause 650
41 @clearsysmsg
42 gumpclose
43 endif
44 endwhile
45
46else
47 overhead "No Spyglass" 333
48 stop
49endif
50//
51overhead "Finished" 333
52stop