Gnomads available: Difference between revisions
Jump to navigation
Jump to search
imported>Bale r9308 |
imported>Bale copied code example from old in_moxie_sign() page |
||
Line 13: | Line 13: | ||
function_description=This function returns true if the logged-in character has has access to the Gnomish Gnomad Camp.| | function_description=This function returns true if the logged-in character has has access to the Gnomish Gnomad Camp.| | ||
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|knoll_available|canadia_available}}| | see_also={{SeeAlso|knoll_available|canadia_available}}| |
Revision as of 10:00, 19 May 2011
Function Syntax
boolean gnomads_available()
This function returns true if the logged-in character has has access to the Gnomish Gnomad Camp.
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
Special
When not logged in, this function returns false.