Invoking a command after, or before, every adventure

The Moocher

New member
So I just wrote a script for automatically maintaining buffs during manual adventuring, and would like to know if there is any 'nice' way to invoke a command after, or before, every adventure?

I suppose the 'Mood' feature with an always true conditional could be used, but this seems like quite an ugly hack.

The Moocher
 
You can also set your script as your Between Battle Script:
Code:
set betweenBattleScript = myscript.ash
 
Slyz, one MAJOR thing about using a BBS is that it only works with auto-adventuring. I'd love something similar that was invoked on relay browser adventuring, but as far as I know, using a mood to call your commands is the only thing that works in that situation.
 
Ah right... I never use a BBS, but I thought (because of this post) that they were invoked along with restoration and mood management. I guess that post only applies to auto-adventuring, and that mood/HP restore/MP restore are called separately depending on you preferences when adventuring manually.

In that case, you need to check 'Run moods during manual adventuring' in Preferences -> Browser, and add this in your mood:

Trigger On: Unconditional trigger
Check for:
Command: call myscript.ash

EDIT: of course, using a mood to call a script that manages buffs seems ironic. Does you script do anything special other than casting predefined buffs?
 
Last edited:
EDIT: of course, using a mood to call a script that manages buffs seems ironic. Does you script do anything special other than casting predefined buffs?

Well, after every turn it tries to cast all buffs I maintain all/most of the time to stack the duration. The script makes sure that every buff in the specified set gets cast as much as any other, regardless of cost. That is, it makes sure every other buff in the set has been cast n times before it casts a buff for the n+1:th time.
 
Back
Top