C.32.  $world->getcharacter

Abstract

$world->getcharacter function: GETs the name of the connected CHARACTER

$name = $world->getcharacter(void); 
 

If autologin was used (see Section 4.1, “General”), this function returns the name of the character used to log in to the mud. If autologin is disabled, this function returns undef.