You and I both know I could manually script this out with two visit_url and a cli_execute, but that doesn't help anyone without scripting ability who would want to acquire a queen cookie automatically.
cli_execute("use reflection of a map");
visit_url("choice.php?pwd&whichchoice=442&option=5&choiceform5=The+Great+Big+Chessboard");
cli_execute("chess solve");
cli_execute("inv queen cookie");
cli_execute("inv reflection of a map");
print("");
visit_url("choice.php?pwd&whichchoice=442&option=5&choiceform5=The+Great+Big+Chessboard");
cli_execute("chess solve");
cli_execute("inv queen cookie");
cli_execute("inv reflection of a map");
print("");
print("GET READY! GET READY! GET READY! GET READY! GET READY! GET READY! GET READY!");
cli_execute("use reflection of a map");
print("Ready!");
if(cli_execute("use reflection of a map")) {}
visit_url("choice.php?pwd&whichchoice=442&option=5&choiceform5=The+Great+Big+Chessboard");
cli_execute("chess solve");
cli_execute("inv queen cookie");
cli_execute("inv reflection of a map");
print("");
(! cli_execute("use reflection of a map"));
boolean test = cli_execute("use reflection of a map");
> use reflection of a map
Using 1 reflection of a map...
Encounter: A Moment of Reflection
Unsupported choice adventure #442
Click here to continue in the relay browser.
choice 1: The Field of Strawberries (Seal Clubber/Pastamancer item, or yellow matter custard)
choice 2: The Caucus Racetrack (Sauceror/Accordion Thief item, or delicious comfit?)
choice 3: The Croquet Grounds (Disco Bandit/Turtle Tamer item, or fight croqueteer)
choice 4: The Duchess' Cottage (you have 1/5 of the items needed for an ittah bittah hookah)
choice 5: The Great Big Chessboard (get a chess cookie)
choice 6: Put the map away (skip adventure)