Search results

  1. P

    Monospaced font

    We can change the font in Notepad? :P :P Ever since fonts became a business rather than a labor of love, I don't mess with them. And you know what? It makes it easier to use computers other than my own as well! :) But hey, whatever you like. I just can't add to the discusion any further.
  2. P

    Most comperhensive farmer yet! (operational! see bottomost post)

    Re: Most comperhensive farmer yet! A global variable is a variable that is used through out a program / script. Its counterpart is a local variable which is used only in a function. It all depends on where you define them, which goes back to your formatting that had me confused last night...
  3. P

    Most comperhensive farmer yet! (operational! see bottomost post)

    Re: Most comperhensive farmer yet! 3 comments: 1) My goodness you have a dizzying programming format! (This is not a bad thing... Just... Wow...) 2) You could actually add in a check to see if the current character has the Liver of Steel or Stomach of Steel skills. ie: liver = false; stomach...
  4. P

    simple Haunted Pantry Script.

    Just as a matter of practice, I'll adjust your script formatting a bit. void main() { while( my_adventures() > 0) { if( my_hp() < 1) { cli_execute( "rest"); cli_execute( "rest"); cli_execute( "rest"); } adventure( 1, $location[haunted pantry])...
  5. P

    Some general questions.

    My best answer is yes and no. Yes they are case sensitive when regarding function names and such. So I would figure that variables themselves would be case sensitive. And a big resounding NO when it comes to programming practice. Aside from syntax, you should never consider case sensitive...
  6. P

    simple Haunted Pantry Script.

    1 through 3 are simple.... 4 gets a little complicated with the food... Here is a start that others can work from to help you out. void main() { while( my_adventures() > 0) { if( my_hp() < 1) { cli_execute( "rest"); cli_execute( "rest"); cli_execute(...
  7. P

    Help with a resting script

    I do believe we could try! :) First thing I notice is your if statement. The math is a bit wrong. If you are looking to rest at 20% or less of max hit points, your if statement could look like this: if( my_hp() < ( my_maxhp() / 5)) There are other ways, but this is the simplest to me. Also, if...
  8. P

    Set Castle Wheel to Minimum Stat

    If not an inbetween battle script, then part of a farming script... import <WheelToMinStatASH.ash>; void main() { while( my_adventures() > 10) { wheeltominstat(); adventure( 10, $location[The Castle in the Clouds in the Sky]); } } As an example.
  9. P

    Set Castle Wheel to Minimum Stat

    It looks like it would work fine... And better than my quick script. I was only making an example that I had promised the night before. And I was deterring a feature request that wasn't needed... Um... Sure. That is definitely a better way to do it. And if you have been paying attention to...
  10. P

    Set Castle Wheel to Minimum Stat

    As requested by Salculd (on the KoL Gameplay forums): stat minstat() { stat currentstat; currentstat = $stat[muscle]; if( my_basestat( currentstat) > my_basestat( $stat[mysticality])) { currentstat = $stat[mysticality]; } if( my_basestat( currentstat) > my_basestat( $stat[moxie])) {...
  11. P

    MuseumStockUp v1.0 (Updated)

    ::Removed due to being outdated::[hr]Okay. This script is ready to roll out. Now on with the show! WARNING: You must (still) open the display case manually first to get the script to function properly. Or else it will try to double up your display case amounts. There are 6 "user defined"...
  12. P

    Giant Castle (ASH)

    Um... You have two choices. (I haven't fully read the script, so I am not certain I didn't miss anything.) 1) Import the script into another, and then whenever you want to call this script write a line like Quest_GiantCastle(); OR 2) add this to the end of this script void main() {...
  13. P

    suggestion:

    I meant self mod in the sense of being able to delete you own threads... I wasn't thinking about moving... And it was just a random thought.
  14. P

    Using scripts?

    You mean the scripts we have on the repository? Or the scripts under the quest menu in mafia? If you mean ours, you will have to register to download the scripts (there are links at the end of the original posts - usually). ( BTW, Guests have access to attachments, unless I screwed up...
  15. P

    suggestion:

    I think efilnikufecin just volunteered to moderate that forum! ;) :P But really, I agree with you that in the long run something should be done... At this moment it isn't a big deal. That doesn't mean we should ignore it... Just not let ourselves get too distracted by that idea yet. Hmmmm... I...
  16. P

    [8.1+] Sako's "soft" kitchen farming script - new recipe version

    Re: "Soft" kitchen farming I won't speak for anyone else, but I do not feel ripped. (I haven't checked the script, so I have no clue if anything I have written made its way into it.) The main idea behind this repository is to share scripts - and ideas. So if I inspired you in any way, I feel...
  17. P

    Rare Hunting Script

    An alternative could be: //ASH file save with a file extension of .ash while( my_adventures() > 4) { adventure( 1, $location[spooky forest]); wait( 60); adventure( 1, $location[deep fat friar's gate]); wait( 60); adventure( 1, $location[sleazy back alley]); wait( 60); adventure( 1...
  18. P

    Very New, Need a MP Recovery Script

    The simplist script would be: relax {x} Where {x} = the number of turns you want to relax. You would then use the Between Battles tab to select the percentage of MP that will trigger the script, and tell it to use whatever you call this relax script. There are other, more complicated ways...
  19. P

    Re: Guest Access

    Re: Guest Access I concur.
  20. P

    Comprehensive Reference

    You should start here for the basic scripting language, not to mention get an idea of arguments and such. If that doesn't suit your needs, or if you just want to try ASH, next up would be this tutorial. When you have the basic concept down, this is the ASH reference page. Unfortunately, these...
Back
Top