This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Bz eSlashCommandEvent: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Allejo (talk | contribs)
time to eventTime
Zehra (talk | contribs)
redirect, since events are in official docs
Tag: New redirect
 
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Events}}
 
==Overview==
The '''bz_eSlashCommandEvent''' is an API event that is called each time a player sends a slash command.
 
==Data==
'''bz_eSlashCommandEvent''' returns the '''bz_SlashCommandEventData_V1''' data class.
 
  {| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value desription
  |-
  |eventType   
  |[[Event(API)|bz_eEventType]]
  |bz_eSlashCommandEvent
  |-
  |from   
  |int
  |The player who sent the slash command
  |-
  |message     
  |[[bz_ApiString]]
  |The full text of the chat message for the slash command, containing the command and all associated parameters
  |-
  |eventTime
  |double
  |The server time at which the event occurred (in seconds).
  |}

Latest revision as of 02:24, 27 November 2025