mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 09:19:01 +00:00
Changed: Added new command /playedTime that displays time played with this character
This commit is contained in:
parent
008f67fcbc
commit
04407be1cc
1 changed files with 8 additions and 0 deletions
|
@ -5798,3 +5798,11 @@ NLMISC_COMMAND(time, "Shows information about the current time", "")
|
||||||
CInterfaceManager::getInstance()->displaySystemInfo(msg, "AROUND");
|
CInterfaceManager::getInstance()->displaySystemInfo(msg, "AROUND");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NLMISC_COMMAND(playedTime, "Display character played time", "")
|
||||||
|
{
|
||||||
|
ucstring msg = CI18N::get("uiPlayedTime");
|
||||||
|
strFindReplace(msg, "%time", NLMISC::secondsToHumanReadable(CharPlayedTime));
|
||||||
|
CInterfaceManager::getInstance()->displaySystemInfo(msg, "AROUND");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue