This wiki is archived and useful information is being migrated to the main bzflag.org website

bz eUnknownSlashCommand

From BZFlagWiki
Revision as of 16:08, 28 November 2007 by Tulcod (Talk | contribs)

Jump to: navigation, search
BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.

BZFS Event. This page documents a BZFS event that is called by the game server to notify plug-ins of various actions and state changes in the game world.


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.

name type value description
eventType bz_eEventType bz_eUnknownSlashCommandEvent
from int The player who sent the slash command
handled bool ???
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.