Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //have 3 containers ready. 1 for slayers, magic staffs, and junk
- if not @findalias 'slayerbag'
- promptalias 'slayerbag'
- endif
- if not @findalias 'Magicbag'
- promptalias 'Magicbag'
- endif
- if not @findobject 'Sell Bag'
- promptalias 'Sell Bag'
- endif
- if not hidden 'self' and skill 'hiding' >= '50'
- useskill 'hiding'
- endif
- if listexists 'stafftype'
- @clearlist 'stafftype'
- else
- createlist 'stafftype'
- endif
- pushlist 'stafftype' 0xe89
- if not @findtype '0x1034' 'any' 'backpack' 'any' '2'
- headmsg 'Need more tools!'
- stop
- endif
- @usetype '0x1034' 'any' 'backpack' '2'
- waitforgump 0x38920abd 15000
- replygump 0x38920abd 9
- pause 2000
- if @injournal 'The world is' 'system'
- sysmsg 'Pausing macro for Server Save'
- waitforjournal 'World save complete' 25000 'system'
- pause 1500
- sysmsg 'Resuming macro'
- endif
- if @injournal 'slayer weapon.' 'system'
- // Change ?
- @findtype stafftype[0] 0x0 'backpack'
- moveitem 'found' 'slayerbag'
- ignoreobject 'found'
- clearjournal
- headmsg 'Slayer crafted!' 33
- pause 600
- else
- if @injournal 'added magical' 'system'
- // Change ?
- @findtype stafftype[0] 0x0 'backpack'
- moveitem 'found' 'Magicbag'
- ignoreobject 'found'
- clearjournal
- headmsg 'Magic staff crafted!' 33
- pause 600
- else
- @findtype '0xe89' 'any' 'backpack' '1' 0
- moveitem 'found' 'Sell Bag'
- pause 200
- @ignoreobject 'found'
- endif
- endif
- while weight >= maxweight
- headmsg 'Time to Sell'
- sysmsg 'Time to Sell'
- messagebox 'Qstaffs done' 'lets go g'
- stop
- endwhile
- if @ingump 'any' 'do not have sufficient'
- pause 1000
- useobject 'self'
- pause 1000
- waitforcontext 0x45183 10 15000
- pause 1000
- if counttype 0x1bdd 'any' 'buggy' >= 500
- movetype 0x1bdd '0x45183' 'backpack' 44 74 0 'any' 500 2
- else
- useobject 'buggy'
- messagebox 'done son' 'buggy empty'
- stop
- pause 1000
- endif
- if not @findobject 'buggy'
- messagebox 'YOOOOOO' 'SELECT MOUNT'
- promptalias 'buggy'
- endif
- useobject 'buggy'
- pause 1000
- replay
- endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement