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 eUnknownSlashCommand: Difference between revisions

From BZFlagWiki
Jump to navigation Jump to search
Tulcod (talk | contribs)
New page: {{BZFS_API_Doc}} {{BZFS_API_Events}} ==Overview== The '''bz_eUnknownSlashCommand''' is an API event that is called each time a "slash command" (like /help) is received which bzfs ...
 
Zehra (talk | contribs)
redirect, since events are in official docs
Tag: New redirect
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{BZFS_API_Doc}}
#REDIRECT [[Category:BZFS API Docs]]
{{BZFS_API_Events}}
 
==Overview==
The '''bz_eUnknownSlashCommand''' is an API event that is called each time a "[[slash command]]" (like /help) is received which [[bzfs]] cannot handle.
 
==Data==
'''bz_eUnknownSlashCommand''' returns the '''bz_UnknownSlashCommandEventData''' data class.
 
  {| border="1" cellpadding="20" cellspacing="0"
  !name
  !type
  !value description
  |-
  |eventType   
  |[[Event(API)|bz_eEventType]]
  |bz_eUnknownSlashCommandEvent
  |-
  |from
  |int
  |The player who sent the slash command
  |-
  |handled
  |bool
  |???
bzApiString message;
 
double time;
  |-
  |message
  |bzApiString
  |The slash command itself
  |-
  |time
  |double
  |The time at which the slash command was sent
  |}
 
==Uses==
This event is a notification only event, none of the data returned can be changed. Use this class to interprete slash commands.
 
[[Category:BZFS_API_Docs]]
[[Category:BZFS_API_Events]]

Latest revision as of 02:46, 27 November 2025