From KoLMafia
Jump to: navigation, search

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


When not logged in, this function returns false.