Home API Manuals About Forum
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

CharTitle

Returns the title of the current character (e.g. "Alex, Grandmaster Alchemist").

Returns an empty string if the character is not connected to the UO server.

In Python, this method is named GetCharTitle.

Возвращает титул текущего персонажа (например, "Alex, Grandmaster Alchemist").

Возвращает пустую строку, если персонаж не подключён к серверу UO.

В Python метод называется GetCharTitle.

Pascal

function CharTitle: String;

Python

def GetCharTitle() -> str: ...

Pascal Example

begin
  AddToSystemJournal('Title: ' + CharTitle);
end.

Python Example

AddToSystemJournal(f'Title: {GetCharTitle()}')

See Also

CharName, GetTitle