Search results

  1. P

    BetweenFight Script.

    Well, I figured I would throw up (all puns intended) my in between fight script. Naturally it is still a work in progress... There are a couple more buffing skills I would like to add in there... And maybe a check to make sure that I have an MP restoring familiar... But feel free to...
  2. P

    Trapper Ore script?

    The easiest way I can think of doing it is to make 3 scripts. One for each ore type. Visit the trapper, and then run the correct ore type script.
  3. P

    Possible bug

    It might be from people "unloading" and re-uploading scripts as they change them.
  4. P

    Breaking free of the chains: Saving, and reading data with KOLMafia's CLI

    If I ever get the time to study this, and (hopefully) understand it, it will be glorious. This will springboard two projects I've been wanting to get done, but have been dreading to start. Now to find the time.... :P Thank you efilnikufecin.
  5. P

    Stat Booster User.

    The typo was that I assigned data to a variable with "= =". (A silly typo causes by copy & paste.) After I fixed that, mafia pointed out one more typo, and the script then worked. Oh... I just realized. In my elation over the typo being found, I forgot to take out the "debugging" print...
  6. P

    Stat Booster User.

    Re: WIP: Stat Booster User. Hah! I found the typo. The script now works, and is available for use. It can be imported, or run on its own. It goes through your substat boosters (moxie weed, concentrated magicalness pill, enchanted barbell, and such) and uses them for your main stat, then each...
  7. P

    Daily adventure script

    I looked over your script, finally. I have commented in it on a few things that didn't seem right to me. I did not actually change anything. Just made my comments. After you alter it as much as you will, I recommend putting it back up again so others can look it over. Someone else might notice...
  8. P

    Stat Booster User.

    I have a tendency to hoard sub stat boosters. I never check my inventory for them... So I thought I would write a simple script for it. Well, I can't write a simple script anymore... :P After a few mutations, the following code block is what I came up with. Problem is, it errors out. No...
  9. P

    Features I wish ASH supported...

    Quick one liners: Ability to check total fullness and/or spleeness. (Not going to happen.) A way to record values between scripts. Either variable values, or writing and reading to a file.
  10. P

    (Help Req.) Script that consumes Food and Booze to max stat gain based on class

    There is a typo here: if(item_amount($item[beer goggles]) < 2) Should be: if(item_amount($item[beer goggles]) < 1)
  11. P

    Alternate Orc Chasm Quest script.

    Bleh... The adventure conditionals do not work as I would like them to... So here are the two parts of the script. if( my_level() >= 9) { int drunklimit; drunklimit = 15; if( have_skill( $skill[liver of steel])) { drunklimit = 20; } if( item_amount( $item[bridge]) < 1) { if(...
  12. P

    All Purpose Bitchin' Meat Car

    Not so much a gap, just an alternate way to do this: print("Whaddya doing, you've already got a meatcar!"); abort; Could be replaced with: cli_execute( "abort Whaddya doing, you've already got a meatcar!"); Also, while it may work perfectly fine... My Pascal mind tells me that GatherMeat...
  13. P

    ASH? WTH is it?

    Xylpher! That is the name. Yes, thank you Xylpher. And again, I am sorry the name slipped my mind.
  14. P

    Ending Script

    macman104 has the idea. My current project is a script to sort of create the best possible outfit for rollover. But until that is finished, I have to manually make an outfit and save it in KoL. (The custom outfit feature.) I call my "rollover" outfit Nightly. So that line tells mafia to have...
  15. P

    Scriptlet: RestorerSelecter

    No, I didn't put Medicinal Herbs on the list because "most" people wouldn't be able to use them. It is easy enough to adjust the list to your liking. Open it in your favorite text editor. Very near the top you will see two lists, each headed by a comment line. (These should stand out, since I...
  16. P

    3 scripts: Crypt, Friars, and PFA

    All of them are very good. And do not worry about not being in ASH. Those of us who are used to more robust programming languages will always prefer to use ASH. It revolves around the fact that once we start training ourselves to think in conditional statements (if, while, etc..), it is hard to...
  17. P

    ASH? WTH is it?

    Without having more information, let me see if I can answer the question. First, ASH stands for Advanced Script Handling. Damn... I forget the name of the guy behind it. Apologies to you, if you ever read this. But basically it came about as more and more people started running into the brick...
  18. P

    CanGalaktik Scriptlet inspired by Presto Ragu's RestorerSelector

    Not that I think you were directing that at me, but for RetorererSelecter there wasn't any logical path to follow if anyone ran it by itself. Actually, I think it is very usefull in conjunction. Between the two, it should be easy for people to make usefull, accurate, and efficient restoring...
  19. P

    Starting Script (Updated, again.)

    NEW: Now more user friendly!! Here is the script I use when I start my day. Now that I have my RestorerSelecter scriptlet up and running, I have updated my starting script. I took out the can_interact() check because I now can check to see if I have MP restorers. I also changed it to use...
  20. P

    What's the Difference?

    There may be no mechanical difference, depending on how mafia handles everything. But conceptually, the first script {adventure(my_adventures(), $location[a spot]);} should use all of your adventures before even continuing on in the script. Conceptually, you should use up all of your adventures...
Back
Top