In muscle sign: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Grotfang
imported>Grotfang
No edit summary
Line 1: Line 1:
[[boolean]] [[in_muscle_sign()]]
{{#vardefine:name|in_muscle_sign}}
{{#vardefine:return_type|boolean}}


Returns ''true'' if your ascension sign is a muscle sign; otherwise, returns ''false''.
{{FunctionPage|
name={{#var:name}}|
function_category=Your Character|


This example will import a mushroom-planting script if you are in a muscle sign:
function1={{Function|
name={{#var:name}}|
aggregate={{#var:aggregate}}|
return_type={{#var:return_type}}|
return_also={{#var:return_also}}
}}|


<code>
function_description=Returns true if your ascension sign is a muscle sign; otherwise, returns false.|
  if ([[in_muscle_sign()]]) {
    [[import]] <Mushroom Script.ash>;
  }
</code>
[[Category:Your Character | In muscle sign()]]
[[Category:Ash Functions | In muscle sign()]]


When not logged in, this function returns ''false''.
code1={{CodeSample|
title=Code Samples|
description=This example will import a mushroom-planting script if you are in a muscle sign.|
code=
<syntaxhighlight>
if(in_muscle_sign()) {
  import <Mushroom Script.ash>;
}
</syntaxhighlight>
}}|
 
see_also={{SeeAlso|in_mysticality_sign|in_moxie_sign}}|
special=When not logged in, this function returns ''false''.
}}

Revision as of 13:49, 1 March 2010



Function Syntax

boolean in_muscle_sign()

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

Code Samples

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

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

See Also

in_mysticality_sign() | in_moxie_sign()

Special

When not logged in, this function returns false.