Gnomads available: Difference between revisions
Jump to navigation
Jump to search
imported>Bale r9308 |
imported>Bale Less copy/paste and more thought. O.O;; |
||
(One intermediate revision by the same user not shown) | |||
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(gnomads_available() && my_adventures() > 0) { | |||
adventure(my_adventures() , $location[thugnderdome]); | |||
} | |||
</syntaxhighlight> | |||
}}| | |||
see_also={{SeeAlso|knoll_available|canadia_available}}| | see_also={{SeeAlso|knoll_available|canadia_available}}| |
Latest revision as of 10:15, 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(gnomads_available() && my_adventures() > 0) {
adventure(my_adventures() , $location[thugnderdome]);
}
See Also
Special
When not logged in, this function returns false.