In bad moon: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>Bale r9307 |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
FunctionPage| | FunctionPage| | ||
name={{#var:name}}| | name={{#var:name}}| | ||
function1={{Function| | function1={{Function| | ||
Line 29: | Line 28: | ||
}}| | }}| | ||
see_also={{SeeAlso|in_hardcore| | see_also={{SeeAlso|in_hardcore|my_path|my_sign}}| | ||
special=Returns false when not logged in. | special=Returns false when not logged in. | ||
}} | }} | ||
[[Category:Your Character]] |
Latest revision as of 10:17, 19 May 2011
Function Syntax
boolean in_bad_moon()
This function will return true if you are under the Bad Moon sign. If you are under any other sign, if will return false.
Code Samples
This code will change your familiar to a black cat when in Bad Moon.
if(in_bad_moon()) {
if(my_familiar() != $familiar[black cat]) {
use_familiar($familiar[black cat]);
}
}
See Also
Special
Returns false when not logged in.