In mysticality 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_mysticality_sign()'''<br/>
[[boolean]] [[in_mysticality_sign()]]
Returns true if your ascension sign is a mysticality sign otherwise false.
 
Returns ''true'' if your ascension sign is a mysticality sign; otherwise, returns ''false''.
 
This example farms the logging camp if it's accessible:
 
<code>
  if ([[in_mysticality_sign()]] && [[my_adventures()]] > 0) {
    [[adventure()|adventure]]([[my_adventures()]], $[[location]][logging camp]);
  }
</code>
[[Category:Your Character | In mysticality sign()]]
[[Category:Your Character | In mysticality sign()]]
[[Category:Ash Functions |In mysticality sign()]]
[[Category:Ash Functions | In mysticality sign()]]
<pre>#Script checks to see if your in mysticality sign. If true, it 'farms' the logging camp.


if(in_mysticality_sign() && my_adventures() > 0){
When not logged in, this function returns ''false''.
adventure(my_adventure(), $location[logging camp]);
}</pre>

Revision as of 14:31, 29 January 2009

boolean in_mysticality_sign()

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

This example farms the logging camp if it's accessible:

 if (in_mysticality_sign() && my_adventures() > 0) {
   adventure(my_adventures(), $location[logging camp]);
 }

When not logged in, this function returns false.