In muscle sign: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>ZammyWarrior
No edit summary
imported>Zarqon
more links, consistent formatting, logged-out info
Line 1: Line 1:
'''boolean in_muscle_sign()'''<br/>
[[boolean]] [[in_muscle_sign()]]
Returns true if your ascension sign is a muscle sign otherwise false.
 
Returns ''true'' if your ascension sign is a muscle sign; otherwise, returns ''false''.
 
This example will import a mushroom-planting script if you are in a muscle sign:
 
<code>
  if ([[in_muscle_sign()]]) {
    [[import]] <Mushroom Script.ash>;
  }
</code>
[[Category:Your Character | In muscle sign()]]
[[Category:Your Character | In muscle sign()]]
[[Category:Ash Functions |In muscle sign()]]
[[Category:Ash Functions | In muscle sign()]]
 
<pre>#script checks to see if you are in a muscle sign. If true, it will import a script designed to plant mushrooms.
#If false, it does nothing.


if(in_muscle_sign()){
When not logged in, this function returns ''false''.
import <Mushroom Script.ash>;
}</pre>

Revision as of 14:25, 29 January 2009

boolean in_muscle_sign()

Returns true if your ascension sign is a muscle sign; otherwise, returns false.

This example will import a mushroom-planting script if you are in a muscle sign:

 if (in_muscle_sign()) {
   import <Mushroom Script.ash>;
 }

When not logged in, this function returns false.