My id: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 2: | Line 2: | ||
page_name=my_id| | page_name=my_id| | ||
function1_return_type=string| | function1_return_type=string| | ||
function_description=Returns the ID | function_description=Returns the Character ID of the logged-in character. | | ||
code1={{CodeSample | | code1={{CodeSample | | ||
title=Code Sample| | title=Code Sample| |
Revision as of 12:39, 25 February 2010
Function Syntax
Returns the Character ID of the logged-in character.
Code Sample
This example allows you to visit your own charsheet.
visit_url("showplayer.php?who=" + my_id());
Special
When no character is logged in, this function returns "0".