Help with automating my recall macro!

SidX

Grandmaster
EDIT: Got some help from AreYouKidden... all good now! Thanks sir!

I have the below macro in my UOSteam. It's designed to do the following:

Click a scribe's pen
Choose "Recall" to craft a recall scroll
Repeat the process until my mana is below the amount required to craft a recall
At that time, begin Meditation
When Mana reaches 95, play the macro again to craft more recalls

Code:
while mana > 9
  usetype 0xfbf
  waitforgump 0x38920abd 5000
  replygump 0x38920abd 51
  waitforgump 0x38920abd 5000
  if @injournal 'You have worn out your tool' 'system'
    clearjournal
  endif
endwhile
useskill "Meditation"
while mana < 95
  pause timeout
endwhile

The way it is now, the macro will run fine until I've exhausted all of the recall scroll ingredients in my pack. For example, if I have 275 quantity blank scrolls, 275 black pearl, 275 mandrake root and 275 blood moss, the script will continue until I have 275 recalls and essentially just stop until I restock my pack with more ingredients and re-run the script.

The goal:

I'm looking to adjust this so when my backpack hits 275 recall scrolls, it stops the macro, moves the stack of recalls to my bank, runs a restock agent (already have one configured in Steam to pull 275 of each ingredient), and replays the script. So essentially I could walk away and return later to have thousands of recalls crafted in my bank instead of having to restock manually every time my ingredients run out.

Any assistance is appreciated! Or some direction on what I could try. Thanks!
 
Last edited:
Top