my_familiar()

From KoLMafia
Jump to: navigation, search

Function Syntax

familiar my_familiar()

Returns your current familiar.

Code Samples

If your familiar is a leprechaun, retrieve a meat detector.

if(my_familiar() == $familiar[leprechaun]) {
retrieve_item(1 , $item[meat detector]);
}

See Also

Special

When not logged in, returns $familiar[none] (needs spading).