My id: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>StDoodle
mNo edit summary
imported>StDoodle
m moved My id() to My id
(No difference)

Revision as of 12:34, 25 February 2010

[[Data Types#{{{return_type}}}|{{{return_type}}}]] my_id()


This function returns the logged-in character's id number as a string.

This example visits your public charsheet:

 visit_url("showplayer.php?who=" + my_id());

When no character is logged in, this functions returns "0".