Difference between revisions of "@UserExtCmd"

From SphereWiki
Jump to: navigation, search
(Created page with '==Description== This trigger fires when a player sends an extended command packet (packet 0x12). Fires on: * Players ==References== The following objec...')
 
 
(One intermediate revision by the same user not shown)
Line 39: Line 39:
 
| 0x56 || Cast Spell macro
 
| 0x56 || Cast Spell macro
 
|-
 
|-
| 0x58 || Open Door macro
+
| 0x88 || Open Door macro
 
|-
 
|-
 
| 0x6B || God Client command
 
| 0x6B || God Client command
Line 50: Line 50:
 
| ARGS || IO || The command text.
 
| ARGS || IO || The command text.
 
|}
 
|}
 
  
 
==Return Values==
 
==Return Values==
Line 64: Line 63:
 
[[Category: Reference Compendium]]
 
[[Category: Reference Compendium]]
 
[[Category: Triggers]]
 
[[Category: Triggers]]
 +
[[Category: Characters]]
 +
[[Category: Players]]

Latest revision as of 10:47, 7 May 2015

Description

This trigger fires when a player sends an extended command packet (packet 0x12).


Fires on:


References

The following object references are explicitly available for this trigger:

Name Description
I The player sending the command.
SRC The player sending the command.


Arguments

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:

Argument In/Out Description
ARGN1 I The command type. Known commands are:
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.

Return Values

The following return values are explicitly defined for this trigger:

Return Value Description
1 Prevents Sphere from processing the command.