Back to index...

NameTypeDeprecatedSecureDescription
Event.TEMPORARY.ExperiencedeprecatedSignals a change in the player's experience.
Event.TEMPORARY.RoledeprecatedSignals a change in the player's current role.
Inspect.TEMPORARY.ExperiencefunctiondeprecatedReturns information about the player's experience.
Inspect.TEMPORARY.RolefunctiondeprecatedReturns the ID of the player's current role.

Event.TEMPORARY.Experience

Signals a change in the player's experience.

Usage:

Event.TEMPORARY.Experience(accumulated, rested, needed)
ParameterTypeDatatypeDescription
accumulatedparametervariantThe amount of experience that has accumulated towards the next level.
neededparameter<nope>The amount of experience required to reach the next level.
restedparameter<nope>The amount of rested experience that has accumulated.
deprecated
standard

Event.TEMPORARY.Role

Signals a change in the player's current role.

Usage:

Event.TEMPORARY.Role(role)
ParameterTypeDatatypeDescription
roleparametervariantThe ID of the new role.
deprecated
soft

Inspect.TEMPORARY.Experience

Returns information about the player's experience.

Usage:

accumulated, rested, needed = Inspect.TEMPORARY.Experience()
ParameterTypeDatatypeDescription
accumulatedresultnumberThe amount of experience that has accumulated towards the next level.
neededresultnumberThe amonut of experience required to reach the next level.
restedresultnumberThe amount of rested experience that has accumulated.
deprecated
standard

Inspect.TEMPORARY.Role

Returns the ID of the player's current role.

Usage:

role = Inspect.TEMPORARY.Role()
ParameterTypeDatatypeDescription
roleresultnumberThe ID of the player's current role.
deprecated
soft

Back to index...