My primestat: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Efilnikufecin
No edit summary
imported>ZammyWarrior
No edit summary
Line 4: Line 4:
[[Category:Ash Functions |My primestat()]]
[[Category:Ash Functions |My primestat()]]
[[Category:Needs Code Samples | My primestat()]]
[[Category:Needs Code Samples | My primestat()]]
<pre>#If primestat returns mysticality, script will retrieve X amount of delectable catalyst
#(X = amount of scrumptious reagents in inventory). Then it will use all of the delectable catalyst in your inventory.
#Designed to create scrumpdiosldajksd solutions equal to the amount of scrumptious reagents in your inventory.
if(my_primestat() == $stat[mysticality]){
retrieve_item(item_amount($item[scrumptious reagent]), $item[delectable catalyst]);
use(item_amount($item[delectable catalyst]), $item[delectable catalyst]);
}
</pre>

Revision as of 03:44, 31 August 2007

stat my_primestat()
Returns the stat associated with your class.

#If primestat returns mysticality, script will retrieve X amount of delectable catalyst
#(X = amount of scrumptious reagents in inventory). Then it will use all of the delectable catalyst in your inventory.
#Designed to create scrumpdiosldajksd solutions equal to the amount of scrumptious reagents in your inventory.
if(my_primestat() == $stat[mysticality]){
retrieve_item(item_amount($item[scrumptious reagent]), $item[delectable catalyst]);
use(item_amount($item[delectable catalyst]), $item[delectable catalyst]);
}