My familiar: Difference between revisions
Jump to navigation
Jump to search
imported>Grotfang Conform to template |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:name|my_familiar}} | {{ | ||
{{#vardefine:return_type|familiar}} | #vardefine:name|my_familiar}} | ||
{{ | |||
#vardefine:return_type|familiar}}{{ | |||
FunctionPage| | |||
name={{#var:name}}| | name={{#var:name}}| | ||
function_category=Your Character| | function_category=Your Character| |
Revision as of 13:54, 10 March 2010
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]);
}
Special
When not logged in, returns $familiar[none] (needs spading).