My familiar: Difference between revisions
Jump to navigation
Jump to search
imported>Efilnikufecin No edit summary |
imported>ZammyWarrior No edit summary |
||
Line 5: | Line 5: | ||
[[Category:Ash Functions |My familiar()]] | [[Category:Ash Functions |My familiar()]] | ||
[[Category:Needs Code Samples | My familiar()]] | [[Category:Needs Code Samples | My familiar()]] | ||
<pre>#Script check if your current familiar is leprechaun. If true it will retrieve 1 meat detector | |||
if(my_familiar() == $familiar[leprechaun]){ | |||
retrieve_item(1, $item[meat detector]); | |||
} | |||
</pre> |
Revision as of 03:34, 31 August 2007
familiar my_familiar()
Returns your current familiar.
#Script check if your current familiar is leprechaun. If true it will retrieve 1 meat detector if(my_familiar() == $familiar[leprechaun]){ retrieve_item(1, $item[meat detector]); }