Difference between revisions of "Miscellaneous ASH Features"

From Kolmafia
Jump to navigation Jump to search
imported>Slyz
(added some additional scripts and their associated preferences)
imported>Icon315
Line 17: Line 17:
  
 
In addition to regular menu-or-CLI-selectable scripts and relay override scripts, you can also use a script for:
 
In addition to regular menu-or-CLI-selectable scripts and relay override scripts, you can also use a script for:
* Login (loginScript)
+
 
* Logout (logoutScript)
 
* Recovery (recoveryScript)
 
 
* Between Battle (betweenBattleScript)
 
* Between Battle (betweenBattleScript)
 
* Buy (buyScript)
 
* Buy (buyScript)
 
* Chatbot (chatbotScript)
 
* Chatbot (chatbotScript)
 +
* Counters (counterScript)
 +
* Login (loginScript)
 +
* Logout (logoutScript)
 
* Planting (plantingScript)
 
* Planting (plantingScript)
 +
* Post Ascension (postAscensionScript)
 
* Pre Ascension (preAscensionScript)
 
* Pre Ascension (preAscensionScript)
* Post Ascension (postAscensionScript)
+
* Profit (profitScript?)
* Counters (counterScript)
+
* Recovery (recoveryScript)
 
* ??
 
* ??
* Profit (profitScript?)
 
  
 
==A little CLI help==
 
==A little CLI help==

Revision as of 22:28, 14 April 2010

Special Syntax Functions

notify

import

Comments

Adding Comments to your code can make it much easier to maintain, and helps other users understand what's going on.

Errors

For help when things go wrong, please see the page on ASH Errors.

Additional Script Uses

In addition to regular menu-or-CLI-selectable scripts and relay override scripts, you can also use a script for:

  • Between Battle (betweenBattleScript)
  • Buy (buyScript)
  • Chatbot (chatbotScript)
  • Counters (counterScript)
  • Login (loginScript)
  • Logout (logoutScript)
  • Planting (plantingScript)
  • Post Ascension (postAscensionScript)
  • Pre Ascension (preAscensionScript)
  • Profit (profitScript?)
  • Recovery (recoveryScript)
  • ??

A little CLI help

Two CLI commands are of great use to ASH scripters:

  • ashref allows one to get a list of ASH functions
  • ash or ashq allows one to run ASH directly on the CLI.

Attention KoLmafia Experts!

We need your help; some details of this function's operation are unknown or unclear.

The following specific question has been raised:

  • Where are all the other places a script can be used? Help plox.