In moxie sign: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>ZammyWarrior
No edit summary
imported>Zarqon
more links, consistent formatting
Line 1: Line 1:
'''boolean in_moxie_sign()'''<br/>
[[boolean]] [[in_moxie_sign()]]


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


<pre>#If in moxie sign script will 'farm' the thugnerdome.
This example will adventure in the Thugnderdome if you are able:


if(in_moxie_sign() && my_adventures > 0){
<code>
adventure(my_adventures(), $location[thugnerdome]);
  if ([[in_moxie_sign()]] && [[my_adventures()]] > 0) {
}</pre>
    [[adventure()|adventure]]([[my_adventures()]], $[[location]][thugnderdome]);
  }
</code>
[[Category:Your Character | In moxie sign()]]
[[Category:Ash Functions | In moxie sign()]]


[[Category:Your Character | In moxie sign()]]
When not logged in, this function returns ''false''.
[[Category:Ash Functions |In moxie sign()]]

Revision as of 14:22, 29 January 2009

boolean in_moxie_sign()

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

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

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

When not logged in, this function returns false.