It looks like this works for the time being:
visit_url("place.php?whichplace=town_right&action=town_horsery");
run_choice(2);
Option 2 is the Dark Horse in this instance.
I was using set loginScript = scripts/foo.ash through the CLI
I tested it again on my Windows machine and it goes to global_pref on a new and older build. My previous testing was on linux. Hmm...I'll follow up on it next week.
Thanks for all the responses. Why is it this value can be set before login but not others. I don't understand the logic behind that.
-- EDIT --
I tested setting LoginScript through CLI again and I do still see it populating in [character]_pref rather than global_pref but it doesn't actually do...
I think it makes more sense to put preference automation into global when defined prior to login. If defined during login, store the value in character pref.
Is there a reason this is a global setting rather than character setting?
You may be right on setting the value over CLI. I saw it added to my character_pref but it may not have actually worked.
When setting a loginScript for a character under Preferences -> Automation, the loginScript value is set under GLOBAL_prefs rather than [character]_pref. Other Automation options such as Pre-Adventure, Post-Adventure, and Recovery set the value under [character]_pref. I haven't tested any other...
Greetings,
I'm hoping someone can help me figure out how to pull all items from the clan stash. I'm guessing the clan stash has to be listed/logged, then iterate through that list to pull the items?
Thank you for your time!
I'm receiving the following error with the latest copy of TheSea.ash and kolmafia build:
I noticed there is a typo on that function. It should be getvar rather than getvars. There were two instances of this typo. Once I replaced getvars with getvar it worked.
Detective Solver - Breaks
I'm having the same issue despite using the latest script and mafia version. Here is the output once I run the script:
> call scripts/Detective Solver.ash
Detective Solver.ash version 1.1
Solving a new case...
Visiting the first room.
Individuals:
Grant Stanley, the...