Created: 10/01/2022, 02:31:03 AM Updated: 10/01/2022, 02:31:03 AM View Change History
1
2
3
4
5@setvar! globalTimeout 650
6
7if not varexist myRecallScrollsChest or not find myRecallScrollsChest ground -1 -1 2
8 overhead "Select the chest with scrolls" 88
9 @setvar! myRecallScrollsChest
10endif
11
12if myRecallScrollsChest = 0
13 unsetvar myRecallScrollsChest
14 replay
15endif
16
17@clearignore
18
19while findtype "runetome|runebook" backpack as tome
20 if findtype 8012 backpack 0 as item
21 getlabel item desc
22 overhead desc 88
23 lift item 60000
24 drop tome
25 elseif findtype 8012 myRecallScrollsChest 0 as item
26 getlabel item desc
27 overhead desc 88
28 lift item 60000
29 drop tome
30 else
31 overhead "Out of scrolls!" 34
32 endif
33 @ignore tome
34endwhile
35
36while findtype "runetome|runebook" ground -1 -1 2 as tome
37 if findtype 8012 backpack 0 as item
38 getlabel item desc
39 overhead desc 88
40 lift item 60000
41 drop tome
42 elseif findtype 8012 myRecallScrollsChest 0 as item
43 getlabel item desc
44 overhead desc 88
45 lift item 60000
46 drop tome
47 else
48 overhead "Out of scrolls!" 34
49 endif
50 @ignore tome
51endwhile
52
53@clearignore