Search results

  1. D

    How do I get the PADL Phone or Windchime counters in ASH?

    Thanks, that does it. get_counters will do it but you can't use the "" matching. get_counters("PADL Phone",0,11) for example.
  2. D

    How do I get the PADL Phone or Windchime counters in ASH?

    I'm familiar with the handy get_counters function but it explicitly ignores the counters I'm looking for. How do I get the war item counters? string get_counters(string label, int minTurns, int maxTurns) label: counter to test for. An empty string will match any counter that takes an...
  3. D

    Bug - Cannot Reproduce Pressing Enter in the Name box no longer logs in

    I have this problem with the 14.7 build (I think). When I am playing through remote desktop on windows 7. After logging out of one character I cannot log in as another character by pressing enter, I must click login. Additionally autotext features don't function, such as the saved password...
  4. D

    Repair the elves' shield generator script

    This script completes the Repair the Elves Shield Generator quest in Spaaaace. It is my first ASH script that does more than "cli_execute" and I'm very happy with it. Assumptions: None? Features: - Configurable options for custom outfits/familiars including the option to trust mafia to...
  5. D

    Boolean not operator

    I think I've got this now. The ! operator only works on things that are or return boolean. I'm used to weakly typed languages, I'll just have to change how I'm thinking about it. Thanks!
  6. D

    Boolean not operator

    ASH doesn't seem to like what I'm trying. I'm trying to do things like this: if(!item_amount(myItem)) doStuff(); if(!equipped_amount(myItem)) doOtherStuff(); if (!adventure(my_adventures(), myLocation())) abort("Something went wrong!"); Can any of these be done or do I have to use...
  7. D

    Bug - Fixed tavern() aborts with "Unable to find faucet" even though it does

    I second this, I expected tavern to stop at the faucet. Having the option to continue is nice, but I would expect it to stop at the faucet by default.
  8. D

    Song in the Ballroom

    Thanks, that does indeed that does show the numeric value for the last request. cli_execute("get lastQuartetRequest") works in my .ash script. It is a bit ugly though, is there a better way to reference variables like this in a script? Also, roippi, what game is that? I recognize it but I...
  9. D

    Song in the Ballroom

    I don't see lastQuartetRequest as a variable or function. I know this post is old, has it been renamed?
  10. D

    Syntax of file_to_map text file

    Yup! map_to_file revealed the truth! The answer is: day item count 1 seal tooth 1 1 mad train wine 5 1 milk of magnesium 1 1 fortune cookie 15
  11. D

    Syntax of file_to_map text file

    From the wiki page on take_storage() What would static_pulls.txt look like? day (count, item)? 1 (1, itemone) 1 (1, itemtwo) 1 (5, itemthree) 1 (2, itemfour) I'd just like to be able to run the example on that page, nothing fancy (yet). Also, is there a command for printing a list like...
Top