Difference between revisions of "In moxie sign"

From Kolmafia
Jump to navigation Jump to search
imported>Grotfang
imported>Grotfang
Line 1: Line 1:
[[boolean]] [[in_moxie_sign()]]
+
{{#vardefine:name|in_moxie_sign}}
 +
{{#vardefine:return_type|boolean}}
  
Returns ''true'' if your ascension sign is a moxie sign; otherwise, returns ''false''.
+
{{FunctionPage|
 +
name={{#var:name}}|
 +
function_category=Your Character|
  
This example will adventure in the Thugnderdome if you are able:
+
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 moxie sign; otherwise, returns false.|
  if ([[in_moxie_sign()]] && [[my_adventures()]] > 0) {
 
    [[adventure()|adventure]]([[my_adventures()]], $[[location]][thugnderdome]);
 
  }
 
</code>
 
[[Category:Your Character | In moxie sign()]]
 
[[Category:Ash Functions | In moxie sign()]]
 
  
When not logged in, this function returns ''false''.
+
code1={{CodeSample|
 +
title=Code Samples|
 +
description=This example will adventure in the Thugnderdome if you are able.|
 +
code=
 +
<syntaxhighlight>
 +
if(in_moxie_sign() && my_adventures() > 0) {
 +
  adventure(my_adventures() , $location[thugnderdome]);
 +
}
 +
</syntaxhighlight>
 +
}}|
 +
 
 +
see_also={{SeeAlso|in_muscle_sign|in_mysticality_sign|my_adventures}}|
 +
special=When not logged in, this function returns false.
 +
}}

Revision as of 13:53, 1 March 2010



Function Syntax

boolean in_moxie_sign()

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

Code Samples

This example will adventure in the Thugnderdome if you are able.

if(in_moxie_sign() && my_adventures() > 0) {
   adventure(my_adventures() , $location[thugnderdome]);
}

See Also

in_muscle_sign() | in_mysticality_sign() | my_adventures()

Special

When not logged in, this function returns false.