[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Alliance From Hell • Semi-Auto A-boo clue use
Page 1 of 1

Semi-Auto A-boo clue use

Posted: Tue Sep 23, 2014 8:49 pm
by wyli romesco
Here's another mini-script. This one automates using A-boo clues, a bit.

You should have A-boo clues (at least one) in your inventory, or it won't do much of anything :P You shouldn't have any ten-leaf clovers in your inventory (disassembleds are fine). You should be all buffed up to the point where you can survive a few turns of THE HORROR...

The script will either use all the clues you have in your inventory or stop when A-boo peak is completely deghostified - whichever comes first.

The script will attempt to auto-recover full hp (as per your preferences) in between visits to the peak. If for some reason it cannot do so, the script will abort with an "autorecovery failed" message.

That is all.

Code: Select all

void main()
{
	while(get_property("booPeakProgress").to_int() > 0 && item_amount($item[a-boo clue]) > 0)
	{
		restore_hp(my_maxhp());
		use(1,$item[a-boo clue]);
		visit_url("adventure.php?snarfblat=296");
		int buttonthump = 5;
		while (buttonthump > 0)
		{
			visit_url("choice.php?pwd&whichchoice=611&option=1");
			buttonthump = buttonthump - 1;
		}
	}
	print ("Hauntedness: "+get_property("booPeakProgress").to_int()+"%");
	print ("Clues remaining: "+item_amount($item[a-boo clue]));
}