I just experimented with Use the Force:
Code:
[598] A Mob of Zeppelin Protesters
Encounter: lynyrd skinner
Round 0: Veracity wins initiative!
[color=green]> ash use_skill( 1, $skill[ use the force ] )[/color]
Round 1: Veracity casts USE THE FORCE!
Encounter: Using the Force
Returned: true
[color=green]> ash handling_choice()[/color]
Returned: true
[color=green]> choice[/color]
[b]choice 1[/b]: "I am not the adventurer you are looking for."
[b]choice 2[/b]: "You will go find two friends and meet me here."
[b]choice 3[/b]: "You will drop your things and walk away."
[color=green]> ashq run_choice( 3 )[/color]
Submitting option 3 for choice 1387
You acquire an item: sweet roll Alabama
You acquire an item: lynyrd snare
You acquire an item: Saturday Night Special
You acquire an item: lynyrd musk
I found the monster in the Relay Browser, but did the rest with ASH commands, simulating what you might run with a script.
When you submit "Use the Force", KoL redirects to choice.php. This is not a "choice follows fight" situation where there is a link on the page to choice.php. It is a real redirect. The result is, after the use_skill completes, you are already in the choice. Therefore, handling_choice() is true, and you can use run_choice() to select the option you want.