Skip to content

Account

Functions

Return Type Name Description
string account.name() The current account's name
string account.email() The current account's email
number account.rid() The current account's RID
stat_data account.stats(string stat) Returns an instance of stat_data for a given stat

Types

stat_data

Property Name
string str
number int32
number int64
number uint8
number uint16
number uint32
number uint64
number float
bool bool

Examples

-- Refilling the YUM Snacks
account.stats('NO_BOUGHT_YUM_SNACKS').int32 = 30