Journal message class Orion Assistant - Hotride/OrionUO GitHub Wiki

Command format:

ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);

  • ReturnType - the return value of the function (void - the function returns nothing);

  • NameSpace - the scope of the function;

  • name - the name of the function;

  • requiredParameters - required parameters;

  • optionalParameters - optional parameters, the default value is indicated after the = sign


String msg.Serial();

Result: Serial number of an Object, bounded with message.


int msg.Timer();

Result: Temporary mark of the message.


String msg.Color();

Result: Color of the message.


String msg.Text();

Result: Message text.


int msg.Flags();

Result: Message flags.


int msg.FindTextID();

Result: Text index in search request from 0 to the number of sets in request.


Introduced in 2.0.8.0

void msg.SetText('newText');

Change journal message to 'newText' string.