Help with getting total free runaways from Stomping Boots?

2xMachina

New member
So... I'm making a script so that it will automatically use up all my free runaways from boots.

So far, I can make it to check the number of used runaways to a set number in a set place with ittah before getting even more weight from fam equipment and using those runaways.

Code:
void main ()
{
cli_execute("familiar boots");
cli_execute("use moveable feast");
cli_execute("equip ittah");
while( to_int(get_property( "_banderRunaways ")) < 18 )
{
   adv1($location[Library], -1, "");
}
cli_execute("equip snow suit");
while( to_int(get_property( "_banderRunaways ")) < 21 )
{
   adv1($location[Library], -1, "");
}
cli_execute("equip ittah");
}

If possible, I would like to replace the 18 and 21 with an updated total free runaway from boots. Is there a property storing these? Or do I have to somehow get familiar weight, divide by 5?

Something else I'd like to know is how to get a prompt to ask for which location to go, rather than having to edit manually every time I want to change?

Thanks in advance.
 

Winterbay

Active member
The location thing is easy. You just edit your main to be main(location loc) and then use loc anywhere you want a location to be used. For the weight you can use familiar_weight($familiar) to get the weight of your familiar and go from there I guess.
 

deadned

New member
here is what I use for getting my daily runs from my Boots in (base 20 lbs).

Code:
int runs= floor(20+weight_adjustment())/5;

while (runs>to_int( get_property("_banderRunaways"))){
	adv1(my_location(),1,"");
	}
 
Top