Difference between pages "Get clan name" and "Minstrel instrument"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>Bale
(r11208)
 
imported>Bale
(Created page with "{{ #vardefine:name|minstrel_instrument}}{{ #vardefine:return_type|item}}{{ FunctionPage| name={{#var:name}}| function1={{Function| name={{#var:name}}| aggregate={{#var:aggre...")
 
Line 1: Line 1:
 
{{
 
{{
#vardefine:name|get_clan_name}}{{
+
#vardefine:name|minstrel_instrument}}{{
#vardefine:return_type|string}}{{
+
#vardefine:return_type|item}}{{
  
 
FunctionPage|
 
FunctionPage|
 
name={{#var:name}}|
 
name={{#var:name}}|
 +
 
function1={{Function|
 
function1={{Function|
 
name={{#var:name}}|
 
name={{#var:name}}|
Line 11: Line 12:
 
return_also={{#var:return_also}}
 
return_also={{#var:return_also}}
 
}}|
 
}}|
function_description=Returns the clan name for the logged-in character.|
+
 
code1={{CodeSample|
+
function_description=If you are on the "Avatar of Boris" challenge path this will return the item currently equipped on Boris' minstrel, Clancy. If you are not currently on that quest it will always return $item[none].|
title=Code Sample|
+
 
description=|
+
needscode=yes|
code=
+
 
<syntaxhighlight>
+
see_also={{SeeAlso|minstrel_quest|minstrel_level}}|
print( "My clan is " + get_clan_name() );
 
</syntaxhighlight>
 
}}|
 
see_also={{SeeAlso|my_id|get_clan_id}}|
 
 
}}
 
}}
  
 
[[Category:Your Character]]
 
[[Category:Your Character]]

Latest revision as of 06:43, 8 November 2014

needs(code_samples);

Function Syntax

item minstrel_instrument()

If you are on the "Avatar of Boris" challenge path this will return the item currently equipped on Boris' minstrel, Clancy. If you are not currently on that quest it will always return $item[none].

See Also

minstrel_quest() | minstrel_level()