Search results

  1. I

    need help on a very basic script

    Yep. If you just want to spend 170 adventures, substitute the * with 170. eat 5 insanely spicy bean burrito drink 5 salty dog adventure 170 castle in the cloud in the sky drink 1 salty dog Copy paste that into a .txt file, and put it in your kolmafia scripts directory.
  2. I

    need help on a very basic script

    ## eat drink adventure { eat 5 insanely spicy bean burrito drink 5 salty dog adventure 170 castle in the cloud in the sky drink 1 salty dog } My advice: rename this to .txt, and lose the braces. If you really want this to be an ASH script, try this: ## eat drink adventure...
  3. I

    get all clovers from hermit

    This is what I did in a recent script for hermit looting. This was done for a character out of hardcore/ronin constraints, so getting worthless trinkets is trivial. I just buy and use 31337 scrolls, they yield enough worthless trinkets to cover their own cost. int worthless_items() { int...
  4. I

    Modern castlefarming script

    Re: Castlefarming, liver of steel, SHC Thanks, efilnikufecin, suggestion duly noted! I incorporated that little change, and did a small amount of general cleanup. Selling and pulverizing is a little less server intensive now. Updated script attached. # improved returning action here courtesy...
  5. I

    Modern castlefarming script

    EDIT: Updated! EDIT: Updated again! (21 April 2007) EDIT: Updated yet again! (5 November 2007) EDIT: And again. Sheesh. (15 November 2007) This is a script I put together, at the request of another player. It's tailored for a moxie class with superhuman cocktailcrafting, and advanced...
  6. I

    PvP Diet Balance and Wine tasting. poilers]

    I have not the foggiest how one could do this in ASH, but I suspect it would utilise the file_to_map and split functions in some way, to save and parse the data. It'd be tricky, to say the least. As an alternative, this is what many serious pvpers do, as far as I know: NOTE: I am not really a...
  7. I

    ASH - iterating through a list of items

    Well, for the interested, this is what this chunk 'o' code eventually transformed into: # this tries to use the still, improving whatever you have that can be improved # however, it will only improve a single item, basically. # I coded this the way I did on the assumption that one would have...
  8. I

    ASH - iterating through a list of items

    Aha! Based upon your fix, Nightmist, I came up with this instead... item [int] supergarnishes; supergarnishes[0] = $item[grapefruit]; supergarnishes[1] = $item[lemon]; supergarnishes[2] = $item[olive]; supergarnishes[3] = $item[orange]; supergarnishes[4] = $item[soda water]; supergarnishes[5] =...
  9. I

    ASH - iterating through a list of items

    First off, I would like to thank holatuwol, veracity, daychilde, and everyone else who has made kolmafia and ASH scripting possible. They have provided the community with a great tool, and I really appreciate it. Now, as the title suggests, I want to iterate through a list of items and do...
  10. I

    plexi pith helm peakfarming (moved from writings in progress)

    I wrote (and tested) this script to be used by a peakfarming multi with a plexiglass pith helmet. A nifty side effect of the pith helmet is the huge amount of MP it generates. In fact, it generates enough MP that you don't need to actually use buffbots at any point. The character in question...
Back
Top