Pay

13 October 2015

  • Release 9.31 - group and avatar entities now take description instead of reason and object takes name instead of reason.
pay (Commands)
TypeCorrade progressive command
Commandpay
DescriptionThe pay command can pay a configured group, an avatar or an object.
Permissionseconomy
Parametersgroup, password, entity
Last ChangesRelease 9.31 - group and avatar entities now take description instead of reason and object takes name instead of reason.

The pay command can pay a configured group, an avatar or an object.

Command Required Parameters Required Corrade Permissions Example
pay group, password, entity economy
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // gives L$1000 to an object
            "command", "pay",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "entity", "object",
            "target", "e69eca36-5b47-47b4-acfc-6ac7f9a97830"
            "amount", "1000"
        ]
    )
);
Parameters Sub-Parameters Sub-Parameters Description
entity avatar firstname, lastname (or agent by UUID); description Pays an avatar with an optional description.
object target, name Pays an object with an optional name usually set to the name of the object.
group target, description Pays a configured group (either target as a group name or key or the authentication group) with an optional description.