I threw together this script to finish leveling from 8 to 9, after the trapz0r's quest, for moxie classes. All it does is adventure in the Haunted Ballroom until you get a dance card, uses the card, then continues adventuring. I put in a check so it shouldn't stack dance cards, which causes the Rotting Matilda adventure to be delayed, and it automatically stops at level 9.
This could probably be used for the level-to-level grind for moxie classes at any higher level, but I have only used it to grind from 8 to 9. Maybe I'll try using it to speed-grind to 30 for the trophy after beating the NS this run.
Code:
int x;
x = 0;
void main()
{
while ((my_level() < 9) && (my_adventures() > 0))
{
adventure(1, $location[Haunted Ballroom]);
if (x > 0) x = x - 1;
if ((item_amount($item[dance card]) > 0) && (x == 0))
{
use( 1, $item[dance card]);
x = 4;
}
}
}