Difference between pages "Thunder cost" and "Get clan name"

From Kolmafia
(Difference between pages)
Jump to navigation Jump to search
imported>Bale
 
imported>Bale
(r11208)
 
Line 1: Line 1:
 
{{
 
{{
#vardefine:name|thunder_cost}}{{
+
#vardefine:name|get_clan_name}}{{
#vardefine:return_type|int}}{{
+
#vardefine:return_type|string}}{{
  
 
FunctionPage|
 
FunctionPage|
 
 
name={{#var:name}}|
 
name={{#var:name}}|
 
 
function1={{Function|
 
function1={{Function|
 
name={{#var:name}}|
 
name={{#var:name}}|
 
aggregate={{#var:aggregate}}|
 
aggregate={{#var:aggregate}}|
 
return_type={{#var:return_type}}|
 
return_type={{#var:return_type}}|
return_also={{#var:return_also}}|
+
return_also={{#var:return_also}}
parameter1={{Param|skill|thunder_skill}}|
+
}}|
p1desc={{Pspan|thunder_skill}} is the {{kolwiki|Heavy_Rains|Thunder}} skill to check the cost of|
+
function_description=Returns the clan name for the logged-in character.|
 +
code1={{CodeSample|
 +
title=Code Sample|
 +
description=|
 +
code=
 +
<syntaxhighlight>
 +
print( "My clan is " + get_clan_name() );
 +
</syntaxhighlight>
 
}}|
 
}}|
 
+
see_also={{SeeAlso|my_id|get_clan_id}}|
function_description=Returns the dB cost for the given {{pspan|thunder_skill}}.|
 
see_also={{SeeAlso|rain_cost|lightning_cost}}|
 
needscode=yes|  
 
 
}}
 
}}
  
[[Category:Skills and Effects]]
+
[[Category:Your Character]]

Latest revision as of 09:20, 7 November 2014

Function Syntax

string get_clan_name()

Returns the clan name for the logged-in character.

Code Sample

print( "My clan is " + get_clan_name() );

See Also

my_id() | get_clan_id()