In bad moon: Difference between revisions
Jump to navigation
Jump to search
imported>Bale mNo edit summary |
imported>Bale r9307 |
||
Line 28: | 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]] | [[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.