-
Notifications
You must be signed in to change notification settings - Fork 0
@UserExtCmd
This trigger fires when a player sends an extended command packet (packet 0x12).
Fires on:
The following object references are explicitly available for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Name || Description |- | I || The player sending the command. |- | SRC || The player sending the command. |}
The following arguments are set for this trigger. If an argument is marked as "In" then a value will be passed in to the trigger, if an argument is marked as "Out" then it can be set to a value to affect Sphere's behaviour:
{| border="1" cellspacing="4" cellpadding="4" | Argument || In/Out || Description |- | ARGN1 || I || The command type. Known commands are: {| cellpadding="2" | Command || Description |- | 0x24 || Use Skill macro |- | 0x27 || Cast spell from book |- | 0x2F || Auto targeting macro |- | 0x43 || Open Spellbook macro |- | 0x56 || Cast Spell macro |- | 0x88 || Open Door macro |- | 0x6B || God Client command |- | 0xC7 || Bow or Salute macro |- | 0xF4 || Invoke Virtue macro |} |- | ARGS || IO || The command text. |}
The following return values are explicitly defined for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Return Value || Description |- | 1 || Prevents Sphere from processing the command. |}
Category: Reference Compendium Category: Triggers Category: Characters Category: Players