Search results

  1. S

    Looping through available skill that give effects issue

    I'm using the following code to loop through all available skills that give effects: int i = 0; while(i < 10000) { if(to_effect(to_skill(i)) != $effect[none]) { print(to_effect(to_skill(i))); } i += 1; } The issue is I end up with a ton of spam to the CLI "<skill...
  2. S

    Getting an image for a skill/item effect

    I'm looking for a way to get the image for an effect given the name of an item or skill for a relay script. Does this functionality exist or is it something I need to parse somehow? Thanks.
  3. S

    Bug - Fixed Abort in a mood or betweenBattleScript does not abort if using the relay browser

    If you're doing automatic adventuring from the KoLmafia GUI and your betweenBattleScript or mood throws an abort the adventure doesn't happen. If you're in the relay browser however, the abort fires and you see the results in the CLI, but the adventure still takes place as normal.
  4. S

    Feature - Implemented Libram rare counters

    In a similar vein as the bricko eye counters, it would be nice to have rare counters for the other two librams. So when you summon a divine champagne flute, divine champagne popper, or divine cracker increase the counter for party favors. When you summon kinder, luckier, or more adventurous...
  5. S

    Suppressing CLI output (specifically trigger output)

    Is there a way to surpress the cli output? I'm currently building a mood programmatically (using multiple "trigger" commands) and everytime I run the script I get a huge mountain of text that details each mood modification made. Example(this is me adding 4 triggers, I'm actually usually adding...
  6. S

    Feature JSON in ash scripts

    Hey, I'm working on something that needs to move data from Javascript to KoLmafia and it seems to me the easier way would be through JSON. I was wondering if we could get JSON parsing capabilities added to ash. Thanks for the consideration.
  7. S

    JSON in ash scripts

    I was wondering if there was any sort of functionality for handling a JSON string in an ash script. I'm working on something that needs an API between Javascript and KoLmafia and figured this would be the easiest way.
  8. S

    Quick question regarding drinks

    Is there a way to pass in frosty's mug or the new shot glasses/mug into a diet script without using visit_url?
  9. S

    Feature - Rejected Robot Reindeer Protocol Handling

    Can we get a counter/function for the robot reindeer protocols? It would be cool if it was implemented like the sticker function where you can do something like: reindeer donner, dancer, blitzen
  10. S

    Feature - Implemented Bricko eye brick summon counter

    It'd be nice if there was a daily counter that was implemented that would track the number of bricko eye bricks that have been summoned each day. That way you could cast till you hit the three per day limit and then move on to another libram.
  11. S

    Bird Counter

    Quick question, is there an internal counter in Kolmafia that keeps track of how many bird attacks you've performed? I can keep track of it programmatically, but I figure if it exists already why reinvent the wheel?
  12. S

    Scripting Issue involving Custom Combat

    Hey, I've been working on a turn burning script for using drum machines. Right now it's really simplistic but here it is: //drum machine turn burning script set_property("battleAction","custom combat script"); set_property("customCombatScript","steal_and_kill.ccs"); int drums =...
Top