knoll_available()

From KoLMafia
Jump to: navigation, search

Function Syntax

boolean knoll_available()

This function returns true if the logged-in character has has access to the inside of Degrassi Knoll.

Code Samples

This will purchase a detuned radio if you can.

if(item_amount($item[detuned radio]) < 1 && knoll_available() && my_meat() >= 300)
   buy(1, $item[detuned radio]);

See Also

Special

When not logged in, this function returns false.