C.32. $world->getcharacter

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

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