Get clan id
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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());