Difference between revisions of "In hardcore"

From Kolmafia
Jump to navigation Jump to search
imported>Efilnikufecin
 
imported>Degrassi
m (Clean up example - code box was ending before the code did.)
Line 7: Line 7:
 
   {
 
   {
 
   buy(3,$[[item]][hot hi mein]);
 
   buy(3,$[[item]][hot hi mein]);
   }</code>
+
   }
 +
</code>
  
 
[[Category:Your Character | In hardcore()]]
 
[[Category:Your Character | In hardcore()]]
 
[[Category:Ash Functions |In hardcore()]]
 
[[Category:Ash Functions |In hardcore()]]

Revision as of 21:03, 17 January 2008

boolean In_hardcore()

This function returns true if the logged-in character is currently subject to the restrictions of a hardcore ascension. If not subject to such restrictions this function returns false.

if(in_hardcore()) 
  {
  buy(3,$item[hot hi mein]);
  }