profile
The profile of a player's character: the text the player writes about themselves.
Source: src/Moongate.Server.Ultima/Modules/ProfileModule.cs
Functions
Section titled “Functions”profile.get(player) -> stringThe profile text of the player, with its line breaks; an empty string for a player who wrote none, an NPC or a serial that is no mobile.
| Parameter | Type | Default |
|---|---|---|
player | integer |
Returns string.
profile.set(player, text?) -> booleanWrites the profile of the player: the text is cleaned of control characters and cut at 511 characters; nil, no text or an empty text clears it. true when the profile changed; false for the same text, an NPC or a serial that is no mobile.
| Parameter | Type | Default |
|---|---|---|
player | integer | |
text (optional) | string | nil |
Returns boolean.
Made with ❤️ by Tom
