Difference between revisions of "Get clan id"

From Kolmafia
Jump to navigation Jump to search
imported>Bale
(r11208)
(No difference)

Revision as of 09:18, 7 November 2014

Function Syntax

sintring get_clan_id()

Returns the Clan ID number of the logged-in character.

Code Sample

This example allows you to visit the clan recruiter page for your own clan. With a little ingenuity your clan leader's name can be parsed from there.

visit_url("showclan.php?recruiter=1&whichclan=" + my_id());

See Also

my_id() | get_clan_name()