Back to "map" tags

LazyMapDecoder by singsingfan

Description: This script decodes all tmaps in your tmap tome book.

It will also restock spyglasses from shelf if u have less than 3 spyglass. <3

Just remember to set spyglasses in your restock to at least 3

1clearsysmsg 
2clearignore 
3
4overhead 'Select Map tome' 33
5if not varexist "dropTome"
6    setvar dropTome
7endif
8
9if not varexist "myShelf"
10    setvar myShelf
11endif
12
13if counttype "spyglass" < 3
14    overhead "Need more Spyglass"
15    menu myShelf 1
16    wait 550
17endif
18if counttype "spyglass" < 1
19    overhead "No spyglass restocked"
20    stop
21endif
22
23if not findtype 5356 backpack
24    dclick dropTome
25    wait 350
26    gumpresponse 10 1863945839
27    wait 500
28endif
29if not findtype 5356 backpack
30    dclick dropTome
31    wait 350
32    gumpresponse 11 1863945839
33    wait 500
34endif
35if not findtype 5356 backpack
36    dclick dropTome
37    wait 350
38    gumpresponse 12 1863945839
39    wait 500
40endif
41if not findtype 5356 backpack
42    dclick dropTome
43    wait 350
44    gumpresponse 13 1863945839
45    wait 500
46endif
47if not findtype 5356 backpack
48    dclick dropTome
49    wait 350
50    gumpresponse 14 1863945839
51    wait 500
52endif
53if not findtype 5356 backpack
54    dclick dropTome
55    wait 350
56    gumpresponse 15 1863945839
57    wait 500
58endif
59if not findtype 5356 backpack
60    dclick dropTome
61    wait 350
62    gumpresponse 16 1863945839
63    wait 500
64endif
65if not findtype 5356 backpack
66    dclick dropTome
67    wait 350
68    gumpresponse 17 1863945839
69    wait 500
70endif
71
72
73while findtype 5356 self as found
74        dclicktype 5365
75        wft 500
76        target found
77        wait 500
78        gumpresponse 4
79        wait 1500
80        while not insysmsg "maximum accuracy"
81            #overhead 'here'
82            gumpresponse  4
83            wait 1500
84        endwhile
85        ignore found
86        menu dropTome 0
87        wait 500
88 
89endwhile
90
91
92        
93loop