Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Inscriptiontrainer //
- // Made by kakel_anders#1638 (Player UOG:Demise) //
- //
- // - Prerequisites - //
- //1. Character must have sufficient tinkering to make scribetools and tinkerkits
- //2. Have a "resourcebag" with regs for poison, lightning and flamestrike, ingots and scrolls
- //3. Have a container (Commoditybox) to put scrolls in.
- //4. Have a trashbarrel closeby
- //5. Start with atleast 1 tinkerkit in backpack
- clearlist 'reagents'
- unsetalias 'resourcebag'
- unsetalias 'commoditybox'
- unsetalias 'scribetrash'
- promptalias 'resourcebag'
- promptalias 'commoditybox'
- promptalias 'scribetrash'
- createlist 'reagents'
- pushlist 'reagents' 0xf8c // Sulfurous Ash
- pushlist 'reagents' 0xf86 // Mandrake Root
- pushlist 'reagents' 0xf84 // Garlic
- pushlist 'reagents' 0xf8d // Spidersilk
- pushlist 'reagents' 0xf88 // Nightshade
- pushlist 'reagents' 0xf7b // Bloodmoss
- pushlist 'reagents' 0xf85 // Ginseng
- pushlist 'reagents' 0xf7a // Blackpearl
- pushlist 'reagents' 0xf8a // Pigiron
- pushlist 'reagents' 0xf78 // Batwing
- pushlist 'reagents' 0xf8e // Nox Crystals
- pushlist 'reagents' 0xf8f // Gravedust
- pushlist 'reagents' 0xf7d // Daemon Blood
- // Skill < 53.5 Poisonscrolls
- //
- //
- while skill 'inscription' < 53.5
- // Meditate
- if mana < 40
- useskill 'meditation'
- pause 15000
- endif
- // Fill up on ingots
- while counttype 0x1bf2 'any' 'backpack' < 50
- movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
- endwhile
- // Make new tinkerkits
- if counttype 0x1eb8 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- pause 1000
- replygump 0x38920abd 8
- pause 500
- replygump 0x38920abd 23
- endfor
- endif
- // Make new scribetools
- if counttype 0xfbf 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 156
- waitforgump 0x38920abd 15000
- endfor
- endif
- // Fill up on scrolls
- if counttype 0xef3 'any' 'backpack' < 50
- movetype 0xef3 'resourcebag' 'backpack' (0 0 0) 'any' 50
- endif
- // Fill up on Regs
- if counttype 0xf88 'any' 'backpack' < 50
- movetype 0xf88 'resourcebag' 'backpack' (0 0 0) 'any' 1000
- endif
- // Make Scroll
- usetype 0xfbf
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 15
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 23
- waitforgump 0x38920abd 15000
- // Store scroll
- movetype 0x1f40 'backpack' 'commoditybox'
- pause 500
- endwhile
- // Move leftover reagents back to storage
- for 0 to reagents
- if findtype 'reagents[]' 'backpack'
- moveitem 'found' 'resourcebag'
- endif
- endfor
- // Skill < 67.9 Lightningscrolls
- //
- //
- while skill 'inscription' < 67.8
- // Meditate
- if mana < 40
- useskill 'meditation'
- pause 15000
- endif
- // Fill up on ingots
- while counttype 0x1bf2 'any' 'backpack' < 50
- movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
- endwhile
- // Make new tinkerkits
- if counttype 0x1eb8 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- pause 1000
- replygump 0x38920abd 8
- pause 500
- replygump 0x38920abd 23
- endfor
- endif
- // Make new scribetools
- if counttype 0xfbf 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 156
- waitforgump 0x38920abd 15000
- endfor
- endif
- // Fill up on scrolls
- if counttype 0xef3 'any' 'backpack' < 50
- movetype 0xef3 'resourcebag' 'backpack' (0 0 0) 'any' 50
- endif
- // Fill up on Regs
- if counttype 0xf86 'any' 'backpack' < 50
- movetype 0xf86 'resourcebag' 'backpack' (0 0 0) 'any' 500
- endif
- // Fill up on Regs
- if counttype 0xf8c 'any' 'backpack' < 50
- movetype 0xf8c 'resourcebag' 'backpack' (0 0 0) 'any' 500
- endif
- // Make Scroll
- usetype 0xfbf
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 22
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 37
- waitforgump 0x38920abd 15000
- // Store scroll
- movetype 0x1f4a 'backpack' 'commoditybox'
- pause 500
- endwhile
- // Move leftover reagents back to storage
- for 0 to reagents
- if findtype 'reagents[]' 'backpack'
- moveitem 'found' 'resourcebag'
- endif
- endfor
- // Skill < 100 Flamestrike scrolls
- //
- //
- while skill 'inscription' < 100
- // Meditate
- if mana < 40
- useskill 'meditation'
- pause 15000
- endif
- // Fill up on ingots
- while counttype 0x1bf2 'any' 'backpack' < 50
- movetype 0x1bf2 'resourcebag' 'backpack' (0 0 0) 0 50
- endwhile
- // Make new tinkerkits
- if counttype 0x1eb8 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- pause 1000
- replygump 0x38920abd 8
- pause 500
- replygump 0x38920abd 23
- endfor
- endif
- // Make new scribetools
- if counttype 0xfbf 'any' 'backpack' < 3
- for 5
- usetype 0x1eb8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 8
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 156
- waitforgump 0x38920abd 15000
- endfor
- endif
- // Fill up on scrolls
- if counttype 0xef3 'any' 'backpack' < 50
- movetype 0xef3 'resourcebag' 'backpack' (0 0 0) 'any' 50
- endif
- // Fill up on Regs
- if counttype 0xf8d 'any' 'backpack' < 50
- movetype 0xf8d 'resourcebag' 'backpack' (0 0 0) 'any' 500
- endif
- // Fill up on Regs
- if counttype 0xf8c 'any' 'backpack' < 50
- movetype 0xf8c 'resourcebag' 'backpack' (0 0 0) 'any' 500
- endif
- // Make Scroll
- usetype 0xfbf
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 43
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 16
- waitforgump 0x38920abd 15000
- // Store scroll
- movetype 0x1f5f 'backpack' 'commoditybox'
- pause 500
- endwhile
- // Move leftover reagents back to storage
- for 0 to reagents
- if findtype 'reagents[]' 'backpack'
- moveitem 'found' 'resourcebag'
- endif
- endfor
Add Comment
Please, Sign In to add comment