Copy a locked down runebook in a CY by zerotokraken

Description: One runebook at a time, no editing required very straightforward (you will have to name your own runes)

1overhead 'Runebook to be copied'
2@setvar! runebookinput
3
4overhead 'Runebook to be made'
5@setvar! runebookoutput
6
7overhead 'Default rune to return to'
8@setvar! runebookhome
9
10@setvar! rune1 '200'
11@setvar! rune2 '201'
12@setvar! rune3 '202'
13@setvar! rune4 '203'
14@setvar! rune5 '204'
15@setvar! rune6 '205'
16@setvar! rune7 '206'
17@setvar! rune8 '207'
18@setvar! rune9 '208'
19@setvar! rune10 '209'
20@setvar! rune11 '210'
21@setvar! rune12 '211'
22@setvar! rune13 '212'
23@setvar! rune14 '213'
24@setvar! rune15 '214'
25@setvar! rune16 '215'
26@setvar! rune17 '216'
27@setvar! rune18 '217'
28@setvar! rune19 '218'
29@setvar! rune20 '219'
30@setvar! rune21 '220'
31@setvar! rune22 '221'
32@setvar! rune23 '222'
33@setvar! rune24 '223'
34@setvar! rune25 '224'
35@setvar! rune26 '225'
36@setvar! button1 '10'
37@setvar! button2 '20'
38@setvar! globalTimeout 650
39
40if find runebookinput ground
41    dclick runebookinput
42    waitforgump 167090027
43    gumpresponse rune1
44    waitforgump 167090027
45    overhead 'Recalling to Rune #1'
46    gumpresponse button1
47    if findtype 7956 backpack as rune
48        wait 2500
49        cast 'Mark'
50        wft
51        target rune
52        wait 1000
53        cast 'recall'
54        wft
55        target runebookhome
56        if findtype 'recall rune' backpack 0 -1 -1 as rune
57            lift rune
58            wait globalTimeout
59            drop runebookoutput
60        endif
61    endif       
62endif
63if mana < 25
64    useskill 'meditation'
65    while mana < 85
66    endwhile
67endif   
68if find runebookinput ground
69    dclick runebookinput
70    waitforgump 167090027
71    gumpresponse rune2
72    waitforgump 167090027
73    overhead 'Recalling to Rune #2'
74    gumpresponse button2
75    if findtype 7956 backpack as rune
76        wait 2500
77        cast 'Mark'
78        wft
79        target rune
80        wait 1000
81        cast 'recall'
82        wft
83        target runebookhome
84        if findtype 'recall rune' backpack 0 -1 -1 as rune
85            lift rune
86            wait globalTimeout
87            drop runebookoutput
88        endif
89    endif       
90endif
91if mana < 25
92    useskill 'meditation'
93    while mana < 85
94    endwhile
95endif
96if find runebookinput ground
97    dclick runebookinput
98    waitforgump 167090027
99    gumpresponse rune3
100    waitforgump 167090027
101    overhead 'Recalling to Rune #3'
102    gumpresponse button1
103    if findtype 7956 backpack as rune
104        wait 2500
105        cast 'Mark'
106        wft
107        target rune
108        wait 1000
109        cast 'recall'
110        wft
111        target runebookhome
112        if findtype 'recall rune' backpack 0 -1 -1 as rune
113            lift rune
114            wait globalTimeout
115            drop runebookoutput
116        endif
117    endif       
118endif
119if mana < 25
120    useskill 'meditation'
121    while mana < 85
122    endwhile
123endif
124if find runebookinput ground
125    dclick runebookinput
126    waitforgump 167090027
127    gumpresponse rune4
128    waitforgump 167090027
129    overhead 'Recalling to Rune #4'
130    gumpresponse button2
131    if findtype 7956 backpack as rune
132        wait 2500
133        cast 'Mark'
134        wft
135        target rune
136        wait 1000
137        cast 'recall'
138        wft
139        target runebookhome
140        if findtype 'recall rune' backpack 0 -1 -1 as rune
141            lift rune
142            wait globalTimeout
143            drop runebookoutput
144        endif
145    endif       
146endif
147if mana < 25
148    useskill 'meditation'
149    while mana < 85
150    endwhile
151endif
152if find runebookinput ground
153    dclick runebookinput
154    waitforgump 167090027
155    gumpresponse rune5
156    waitforgump 167090027
157    overhead 'Recalling to Rune #5'
158    gumpresponse button1
159    if findtype 7956 backpack as rune
160        wait 2500
161        cast 'Mark'
162        wft
163        target rune
164        wait 1000
165        cast 'recall'
166        wft
167        target runebookhome
168        if findtype 'recall rune' backpack 0 -1 -1 as rune
169            lift rune
170            wait globalTimeout
171            drop runebookoutput
172        endif
173    endif       
174endif
175if mana < 25
176    useskill 'meditation'
177    while mana < 85
178    endwhile
179endif
180if find runebookinput ground
181    dclick runebookinput
182    waitforgump 167090027
183    gumpresponse rune6
184    waitforgump 167090027
185    overhead 'Recalling to Rune #6'
186    gumpresponse button2
187    if findtype 7956 backpack as rune
188        wait 2500
189        cast 'Mark'
190        wft
191        target rune
192        wait 1000
193        cast 'recall'
194        wft
195        target runebookhome
196        if findtype 'recall rune' backpack 0 -1 -1 as rune
197            lift rune
198            wait globalTimeout
199            drop runebookoutput
200        endif
201    endif       
202endif
203if mana < 25
204    useskill 'meditation'
205    while mana < 85
206    endwhile
207endif
208if find runebookinput ground
209    dclick runebookinput
210    waitforgump 167090027
211    gumpresponse rune7
212    waitforgump 167090027
213    overhead 'Recalling to Rune #7'
214    gumpresponse button1
215    if findtype 7956 backpack as rune
216        wait 2500
217        cast 'Mark'
218        wft
219        target rune
220        wait 1000
221        cast 'recall'
222        wft
223        target runebookhome
224        if findtype 'recall rune' backpack 0 -1 -1 as rune
225            lift rune
226            wait globalTimeout
227            drop runebookoutput
228        endif
229    endif       
230endif
231if mana < 25
232    useskill 'meditation'
233    while mana < 85
234    endwhile
235endif
236if find runebookinput ground
237    dclick runebookinput
238    waitforgump 167090027
239    gumpresponse rune8
240    waitforgump 167090027
241    overhead 'Recalling to Rune #8'
242    gumpresponse button2
243    if findtype 7956 backpack as rune
244        wait 2500
245        cast 'Mark'
246        wft
247        target rune
248        wait 1000
249        cast 'recall'
250        wft
251        target runebookhome
252        if findtype 'recall rune' backpack 0 -1 -1 as rune
253            lift rune
254            wait globalTimeout
255            drop runebookoutput
256        endif
257    endif       
258endif
259if mana < 25
260    useskill 'meditation'
261    while mana < 85
262    endwhile
263endif
264if find runebookinput ground
265    dclick runebookinput
266    waitforgump 167090027
267    gumpresponse rune9
268    waitforgump 167090027
269    overhead 'Recalling to Rune #9'
270    gumpresponse button1
271    if findtype 7956 backpack as rune
272        wait 2500
273        cast 'Mark'
274        wft
275        target rune
276        wait 1000
277        cast 'recall'
278        wft
279        target runebookhome
280        if findtype 'recall rune' backpack 0 -1 -1 as rune
281            lift rune
282            wait globalTimeout
283            drop runebookoutput
284        endif
285    endif       
286endif
287if mana < 25
288    useskill 'meditation'
289    while mana < 85
290    endwhile
291endif
292if find runebookinput ground
293    dclick runebookinput
294    waitforgump 167090027
295    gumpresponse rune10
296    waitforgump 167090027
297    overhead 'Recalling to Rune #10'
298    gumpresponse button2
299    if findtype 7956 backpack as rune
300        wait 2500
301        cast 'Mark'
302        wft
303        target rune
304        wait 1000
305        cast 'recall'
306        wft
307        target runebookhome
308        if findtype 'recall rune' backpack 0 -1 -1 as rune
309            lift rune
310            wait globalTimeout
311            drop runebookoutput
312        endif
313    endif       
314endif
315if mana < 25
316    useskill 'meditation'
317    while mana < 85
318    endwhile
319endif
320if find runebookinput ground
321    dclick runebookinput
322    waitforgump 167090027
323    gumpresponse rune11
324    waitforgump 167090027
325    overhead 'Recalling to Rune #11'
326    gumpresponse button1
327    if findtype 7956 backpack as rune
328        wait 2500
329        cast 'Mark'
330        wft
331        target rune
332        wait 1000
333        cast 'recall'
334        wft
335        target runebookhome
336        if findtype 'recall rune' backpack 0 -1 -1 as rune
337            lift rune
338            wait globalTimeout
339            drop runebookoutput
340        endif
341    endif       
342endif
343if mana < 25
344    useskill 'meditation'
345    while mana < 85
346    endwhile
347endif
348if find runebookinput ground
349    dclick runebookinput
350    waitforgump 167090027
351    gumpresponse rune12
352    waitforgump 167090027
353    overhead 'Recalling to Rune #12'
354    gumpresponse button2
355    if findtype 7956 backpack as rune
356        wait 2500
357        cast 'Mark'
358        wft
359        target rune
360        wait 1000
361        cast 'recall'
362        wft
363        target runebookhome
364        if findtype 'recall rune' backpack 0 -1 -1 as rune
365            lift rune
366            wait globalTimeout
367            drop runebookoutput
368        endif
369    endif       
370endif
371if mana < 25
372    useskill 'meditation'
373    while mana < 85
374    endwhile
375endif
376if find runebookinput ground
377    dclick runebookinput
378    waitforgump 167090027
379    gumpresponse rune13
380    waitforgump 167090027
381    overhead 'Recalling to Rune #13'
382    gumpresponse button1
383    if findtype 7956 backpack as rune
384        wait 2500
385        cast 'Mark'
386        wft
387        target rune
388        wait 1000
389        cast 'recall'
390        wft
391        target runebookhome
392        if findtype 'recall rune' backpack 0 -1 -1 as rune
393            lift rune
394            wait globalTimeout
395            drop runebookoutput
396        endif
397    endif       
398endif
399if mana < 25
400    useskill 'meditation'
401    while mana < 85
402    endwhile
403endif
404if find runebookinput ground
405    dclick runebookinput
406    waitforgump 167090027
407    gumpresponse rune14
408    waitforgump 167090027
409    overhead 'Recalling to Rune #14'
410    gumpresponse button2
411    if findtype 7956 backpack as rune
412        wait 2500
413        cast 'Mark'
414        wft
415        target rune
416        wait 1000
417        cast 'recall'
418        wft
419        target runebookhome
420        if findtype 'recall rune' backpack 0 -1 -1 as rune
421            lift rune
422            wait globalTimeout
423            drop runebookoutput
424        endif
425    endif       
426endif
427if mana < 25
428    useskill 'meditation'
429    while mana < 85
430    endwhile
431endif
432if find runebookinput ground
433    dclick runebookinput
434    waitforgump 167090027
435    gumpresponse rune15
436    waitforgump 167090027
437    overhead 'Recalling to Rune #15'
438    gumpresponse button1
439    if findtype 7956 backpack as rune
440        wait 2500
441        cast 'Mark'
442        wft
443        target rune
444        wait 1000
445        cast 'recall'
446        wft
447        target runebookhome
448        if findtype 'recall rune' backpack 0 -1 -1 as rune
449            lift rune
450            wait globalTimeout
451            drop runebookoutput
452        endif
453    endif       
454endif
455if mana < 25
456    useskill 'meditation'
457    while mana < 85
458    endwhile
459endif
460if find runebookinput ground
461    dclick runebookinput
462    waitforgump 167090027
463    gumpresponse rune16
464    waitforgump 167090027
465    overhead 'Recalling to Rune #16'
466    gumpresponse button2
467    if findtype 7956 backpack as rune
468        wait 2500
469        cast 'Mark'
470        wft
471        target rune
472        wait 1000
473        cast 'recall'
474        wft
475        target runebookhome
476        if findtype 'recall rune' backpack 0 -1 -1 as rune
477            lift rune
478            wait globalTimeout
479            drop runebookoutput
480        endif
481    endif       
482endif
483if mana < 25
484    useskill 'meditation'
485    while mana < 85
486    endwhile
487endif
488if find runebookinput ground
489    dclick runebookinput
490    waitforgump 167090027
491    gumpresponse rune17
492    waitforgump 167090027
493    overhead 'Recalling to Rune #17'
494    gumpresponse button1
495    if findtype 7956 backpack as rune
496        wait 2500
497        cast 'Mark'
498        wft
499        target rune
500        wait 1000
501        cast 'recall'
502        wft
503        target runebookhome
504        if findtype 'recall rune' backpack 0 -1 -1 as rune
505            lift rune
506            wait globalTimeout
507            drop runebookoutput
508        endif
509    endif       
510endif
511if mana < 25
512    useskill 'meditation'
513    while mana < 85
514    endwhile
515endif
516if find runebookinput ground
517    dclick runebookinput
518    waitforgump 167090027
519    gumpresponse rune18
520    waitforgump 167090027
521    overhead 'Recalling to Rune #18'
522    gumpresponse button2
523    if findtype 7956 backpack as rune
524        wait 2500
525        cast 'Mark'
526        wft
527        target rune
528        wait 1000
529        cast 'recall'
530        wft
531        target runebookhome
532        if findtype 'recall rune' backpack 0 -1 -1 as rune
533            lift rune
534            wait globalTimeout
535            drop runebookoutput
536        endif
537    endif       
538endif
539if mana < 25
540    useskill 'meditation'
541    while mana < 85
542    endwhile
543endif
544if find runebookinput ground
545    dclick runebookinput
546    waitforgump 167090027
547    gumpresponse rune19
548    waitforgump 167090027
549    overhead 'Recalling to Rune #19'
550    gumpresponse button1
551    if findtype 7956 backpack as rune
552        wait 2500
553        cast 'Mark'
554        wft
555        target rune
556        wait 1000
557        cast 'recall'
558        wft
559        target runebookhome
560        if findtype 'recall rune' backpack 0 -1 -1 as rune
561            lift rune
562            wait globalTimeout
563            drop runebookoutput
564        endif
565    endif       
566endif
567if mana < 25
568    useskill 'meditation'
569    while mana < 85
570    endwhile
571endif
572if find runebookinput ground
573    dclick runebookinput
574    waitforgump 167090027
575    gumpresponse rune20
576    waitforgump 167090027
577    overhead 'Recalling to Rune #20'
578    gumpresponse button2
579    if findtype 7956 backpack as rune
580        wait 2500
581        cast 'Mark'
582        wft
583        target rune
584        wait 1000
585        cast 'recall'
586        wft
587        target runebookhome
588        if findtype 'recall rune' backpack 0 -1 -1 as rune
589            lift rune
590            wait globalTimeout
591            drop runebookoutput
592        endif
593    endif       
594endif
595if mana < 25
596    useskill 'meditation'
597    while mana < 85
598    endwhile
599endif
600if find runebookinput ground
601    dclick runebookinput
602    waitforgump 167090027
603    gumpresponse rune21
604    waitforgump 167090027
605    overhead 'Recalling to Rune #21'
606    gumpresponse button1
607    if findtype 7956 backpack as rune
608        wait 2500
609        cast 'Mark'
610        wft
611        target rune
612        wait 1000
613        cast 'recall'
614        wft
615        target runebookhome
616        if findtype 'recall rune' backpack 0 -1 -1 as rune
617            lift rune
618            wait globalTimeout
619            drop runebookoutput
620        endif
621    endif       
622endif
623if mana < 25
624    useskill 'meditation'
625    while mana < 85
626    endwhile
627endif
628if find runebookinput ground
629    dclick runebookinput
630    waitforgump 167090027
631    gumpresponse rune22
632    waitforgump 167090027
633    overhead 'Recalling to Rune #22'
634    gumpresponse button2
635    if findtype 7956 backpack as rune
636        wait 2500
637        cast 'Mark'
638        wft
639        target rune
640        wait 1000
641        cast 'recall'
642        wft
643        target runebookhome
644        if findtype 'recall rune' backpack 0 -1 -1 as rune
645            lift rune
646            wait globalTimeout
647            drop runebookoutput
648        endif
649    endif       
650endif
651if mana < 25
652    useskill 'meditation'
653    while mana < 85
654    endwhile
655endif
656if find runebookinput ground
657    dclick runebookinput
658    waitforgump 167090027
659    gumpresponse rune23
660    waitforgump 167090027
661    overhead 'Recalling to Rune #23'
662    gumpresponse button1
663    if findtype 7956 backpack as rune
664        wait 2500
665        cast 'Mark'
666        wft
667        target rune
668        wait 1000
669        cast 'recall'
670        wft
671        target runebookhome
672        if findtype 'recall rune' backpack 0 -1 -1 as rune
673            lift rune
674            wait globalTimeout
675            drop runebookoutput
676        endif
677    endif       
678endif
679if mana < 25
680    useskill 'meditation'
681    while mana < 85
682    endwhile
683endif
684if find runebookinput ground
685    dclick runebookinput
686    waitforgump 167090027
687    gumpresponse rune24
688    waitforgump 167090027
689    overhead 'Recalling to Rune #24'
690    gumpresponse button2
691    if findtype 7956 backpack as rune
692        wait 2500
693        cast 'Mark'
694        wft
695        target rune
696        wait 1000
697        cast 'recall'
698        wft
699        target runebookhome
700        if findtype 'recall rune' backpack 0 -1 -1 as rune
701            lift rune
702            wait globalTimeout
703            drop runebookoutput
704        endif
705    endif       
706endif
707if mana < 25
708    useskill 'meditation'
709    while mana < 85
710    endwhile
711endif
712if find runebookinput ground
713    dclick runebookinput
714    waitforgump 167090027
715    gumpresponse rune25
716    waitforgump 167090027
717    overhead 'Recalling to Rune #25'
718    gumpresponse button1
719    if findtype 7956 backpack as rune
720        wait 2500
721        cast 'Mark'
722        wft
723        target rune
724        wait 1000
725        cast 'recall'
726        wft
727        target runebookhome
728        if findtype 'recall rune' backpack 0 -1 -1 as rune
729            lift rune
730            wait globalTimeout
731            drop runebookoutput
732        endif
733    endif       
734endif
735if mana < 25
736    useskill 'meditation'
737    while mana < 85
738    endwhile
739endif
740if find runebookinput ground
741    dclick runebookinput
742    waitforgump 167090027
743    gumpresponse rune26
744    waitforgump 167090027
745    overhead 'Recalling to Rune #26'
746    gumpresponse button2
747    if findtype 7956 backpack as rune
748        wait 2500
749        cast 'Mark'
750        wft
751        target rune
752        wait 1000
753        cast 'recall'
754        wft
755        target runebookhome
756        if findtype 'recall rune' backpack 0 -1 -1 as rune
757            lift rune
758            wait globalTimeout
759            drop runebookoutput
760        endif
761    endif       
762endif
763
764overhead 'Runebook Copied!'