From KoLMafia
Jump to: navigation, search

Function Syntax

int 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