My id: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 20: | Line 20: | ||
}}| | }}| | ||
see_also={{SeeAlso|my_name}}| | see_also={{SeeAlso|my_name}}| | ||
special=When no character is logged in, this function returns | special=When no character is logged in, this function returns the Character ID of the last logged-in character. | ||
}} | }} |
Revision as of 03:46, 1 March 2010
Function Syntax
string my_id()
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());
See Also
Special
When no character is logged in, this function returns the Character ID of the last logged-in character.