Community Service council choice adventure

Hamusutaa

New member
I'm still pretty new to ASH scripting, and I'm trying to automate my Community Service runs for maximum laziness. I'm running into an issue where the script gives up after I complete a council task.

For example, I do
Code:
set_property("choiceAdventure1089", 1);
council();

It then goes to the council, does option 1, gets spit back to the council upon completion of the task and fails because choice 1 is not present any longer. Is there a way to have the script fail silently and move on in this case?
 

Bale

Minion
Setting a choice adventure default won't make a choice adventure run unless you are using the adventure() command. For this you need run_choice(). I recommend doing it like this:


PHP:
void service(int x) {
	visit_url("council.php"); 
	run_choice(x);
}

With that function you can complete the first council test with service(1);
 
Top