My id: Difference between revisions
Jump to navigation
Jump to search
imported>StDoodle mNo edit summary |
imported>StDoodle mNo edit summary |
||
Line 1: | Line 1: | ||
{{FunctionPage | | {{#vardefine:name|my_id}} | ||
{{#vardefine:return_type|string}} | |||
{{FunctionPage| | |||
name={{#var:name}}| | |||
function_category=Your Character| | function_category=Your Character| | ||
function1={{Function| | |||
function_description=Returns the Character ID of the logged-in character. | | name={{#var:name}}| | ||
code1={{CodeSample | | aggregate={{#var:aggregate}}| | ||
return_type={{#var:return_type}}| | |||
return_also={{#var:return_also}} | |||
}| | |||
function_description=Returns the Character ID of the logged-in character.| | |||
code1={{CodeSample| | |||
title=Code Sample| | title=Code Sample| | ||
description=This example allows you to visit your own charsheet.| | description=This example allows you to visit your own charsheet.| | ||
code= | code= | ||
<syntaxhighlight | <syntaxhighlight> | ||
visit_url("showplayer.php?who=" + my_id()); | visit_url("showplayer.php?who=" + my_id()); | ||
</syntaxhighlight>}} | | </syntaxhighlight>}}| | ||
see_also={{SeeAlso|my_name}}| | |||
special=When no character is logged in, this function returns "0". | special=When no character is logged in, this function returns "0". | ||
}} | }} |