That FN Ninja
Member
Hello. I have another question.
I'm running Windows XP SP2, Java 1.6.0_11, and KoLmafia v13.3.1.
I've noticed that certain commands will stop my scripts if KoLmafia is unable to complete them. For instance if I try to put on an outfit that the character doesn't have.
Well, my question is how do I get the script to continue even if those things fail.
Here's the script:
I would like this script to adventure even if I don't have that outfit.
I'm running Windows XP SP2, Java 1.6.0_11, and KoLmafia v13.3.1.
I've noticed that certain commands will stop my scripts if KoLmafia is unable to complete them. For instance if I try to put on an outfit that the character doesn't have.
Well, my question is how do I get the script to continue even if those things fail.
Here's the script:
Code:
void suit_up(){
// Put on adventureing gear.
(outfit ("MaxMuscle") );
print ("Ready to go!", "green");
}
void farm_all(){
cli_execute("adventure * Fantasy Airship");
}
void main (){
suit_up();
farm_all();
}
I would like this script to adventure even if I don't have that outfit.