Search results

  1. B

    How to drink a lucky lindy?

    Hi, I've been reading the wiki and checking the forums, but I still don't know how to drink a lucky lindy in a ASH script. How do I do it?
  2. B

    How to script getting a semi-rare?

    This worked! Thanks.
  3. B

    How to script getting a semi-rare?

    Hi, whenever I try something like adventure( 2, $location[The Sleazy Back Alley] ); in my script, it exits with the words: "Fortune Cookie counter expired. Last semirare found 178 turns ago (on turn 3482) in The Sleazy Back Alley". How do I get a semi-rare without exiting my script?
  4. B

    bloody knuckles' buy & eat

    A simple script i've been using for years. It assumes you have some Skill/Item/Iotms, so you need to look at it before you use it. Assumed Skill/Item/Iotms: 1) Ode to Booze 2) Tome of Clip Art 3) Winter Garden 4) Tuesday's Ruby Edit: Any feedback?
  5. B

    How can I get two pulldown lists at the same time?

    Can you write custom objects in mafia? I want to try writing an a custom object with two bools as internal variables.
  6. B

    How can I get two pulldown lists at the same time?

    I'm writing a script that starts like this: void main ( boolean DoIt, boolean DoNot) http://imgur.com/a/kdDFw But instead of two pull down lists at the same time, like I expected, it first shows one pull down list, and then the other. Does anyone know how how to get kolmafia to show both...
  7. B

    Pulling different forms of pete's jacket out of hangks?

    I kept getting "[Sneaky Pete's Leather Jacket] requested but not available". I tried flipping the order, but that didn't solve this problem. Also solved this problem with veracity's suggestion of using the storage checking function. Thanks Veracity!
  8. B

    Pulling different forms of pete's jacket out of hangks?

    Do error messages stop scripts from all levels of scripting?
  9. B

    Pulling different forms of pete's jacket out of hangks?

    I'm trying to write a script that will either pull [pete's jacket] or [pete's jacket (popped)] like so but i'm running into "cannot find" errors. What should I do?
  10. B

    Best Between Battle Script Ever -- formerly AutoMCD

    Thank you, I missed that.
  11. B

    Best Between Battle Script Ever -- formerly AutoMCD

    Question: Do I have to manually run this script every time I adventure?
  12. B

    Autobuffing while ascending

    No dice. =/ I tried cli_execute("drink 1 glass of "milk""); and it threw: "You need 1 more glass of "milk" to continue."
  13. B

    Autobuffing while ascending

    No, I was able to buy a drink right after, so I am quite sure that is not the case. I shall do more testing the next time I ascend. I also tested "drink lucky lindy", and it worked. By the way, is it possible to disable safe adventuring? I tried to script in "adventure 2 sloppy seconds diner"...
  14. B

    Autobuffing while ascending

    It knows which buffs to cast by taking it from the mood list, correct? How does it know which buff to cast first? This is what I have so far: cli_execute("pull pantsgiving"); cli_execute("pull buddy bjorn"); cli_execute("pull Sneaky Pete's leather jacket "); cli_execute("pull can of rain...
  15. B

    Autobuffing while ascending

    I've never used mana burning before. It seems like exactly what I need. I'll try it out. I don't like the way moods work. Since it only triggers when the buff is lost, you lose a lot of potential when you hit your mana cap and your buffs are still up. Then, your mana regen goes to waste.
  16. B

    Autobuffing while ascending

    Thanks, you completely answered my question! =) By the way, do you know how to get an ash to click on a button? Say, I have a DNA-extraction syringe and I want to hybridize myself automatically. Is there a way to get mafia to click on the hybridize button in my workshed?
  17. B

    Autobuffing while ascending

    I'm thinking of writing a script to do the easy quests. Only thing is I don't know how to handle the buffs. I was thinking of making a list of relevant buffs. Then I'd write a function to search for the lowest duration relevant buff, and casting that buff. Repeat until below a certain mana...
  18. B

    How do I turn off CLI notifications to speed up script?

    Do you know what the logic behind the lookup is (in the php)?
  19. B

    How do I turn off CLI notifications to speed up script?

    Currently using this script to summon the most expensive Clip Art Item to sell: void SummonMostExpensive() { int remaining = 3 - get_property("tomeSummons").to_int(); if (remaining == 0) { print("Ran out of tome summons"); return; } int index = first...
Top