Namespace Event
Defined in: </ScriptBot/trunk/src/app/scriptbot.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Holds all the event keys, which can be used for registering a plugin.
|
| Field Attributes | Field Name and Description |
|---|---|
| <static> |
Event.ACTION
Fired on action events.
|
| <static> |
Event.CHANNEL_BAN_REMOVED
Fired when a channel ban is removed.
|
| <static> |
Event.CHANNEL_INFO
Fired when channel information is received.
|
| <static> |
Event.CHANNEL_KEY_REMOVED
Fired when a channel key is removed.
|
| <static> |
Event.CHANNEL_LIMIT_REMOVED
Fired when a channel limit is removed.
|
| <static> |
Event.CONNECT
Fired on connection events.
|
| <static> |
Event.DE_VOICE
Fired when someone is devoiced.
|
| <static> |
Event.DEOP
Fired when someone is deoped.
|
| <static> |
Event.DISCONNECT
Fired when the bot is disconnected.
|
| <static> |
Event.FINGER
Fired when someone sends a CTCP FINGER to the bot.
|
| <static> |
Event.INVITE
Fired when the bot is invited to a channel.
|
| <static> |
Event.INVITE_ONLY_REMOVED
Fired when a channel is made invitation only.
|
| <static> |
Event.JOIN
Fired when someone joins a channel.
|
| <static> |
Event.KICK
Fired when someone is kicked.
|
| <static> |
Event.MESSAGE
Fired when someone says something on a channel.
|
| <static> |
Event.MODE
Fired when a channel mode is changed.
|
| <static> |
Event.MODERATED_REMOVED
Fired when a channel removes moderation mode.
|
| <static> |
Event.NICK_CHANGE
Fired when someone changes their nick.
|
| <static> |
Fired when a channel removes no-external-messages mode.
|
| <static> |
Event.NOTICE
Fired when someone sends a notice to the bot.
|
| <static> |
Event.OP
Fired when someone is opped.
|
| <static> |
Event.PART
Fired when someone parts a channel.
|
| <static> |
Event.PING
Fired when someone pings the bot.
|
| <static> |
Event.PRIVATE_MESSAGE
Fired when someone sends a private message to the bot.
|
| <static> |
Event.PRIVATE_REMOVED
Fired when a channel is no longer private.
|
| <static> |
Event.QUIT
Fired when someone disconnects from the server.
|
| <static> |
Event.SECRET_REMOVED
Fired when a channel is no longer secret.
|
| <static> |
Event.SERVER_RESPONSE
Fired when the bot receives a server response line.
|
| <static> |
Event.SET_CHANNEL_BAN
Fired when a channel bans someone.
|
| <static> |
Event.SET_CHANNEL_KEY
Fired when a channel sets a channel key.
|
| <static> |
Event.SET_CHANNEL_LIMIT
Fired when a channel limit is set.
|
| <static> |
Event.SET_INVITE_ONLY
Fired when a channel is made invitation only.
|
| <static> |
Event.SET_MODERATED
Fired when a channel is made moderater only.
|
| <static> |
Event.SET_NO_EXTERNAL_MESSAGES
Fired when a channel no longer accepts external messages.
|
| <static> |
Event.SET_PRIVATE
Fired when a channel is made private.
|
| <static> |
Event.SET_SECRET
Fired when a channel is made secret.
|
| <static> |
Event.SET_TOPIC_PROTECTION
Fired when a channel sets topic protection.
|
| <static> |
Event.TIME
Fired when the bot receives a CTCP TIME command.
|
| <static> |
Event.TOPIC
Fired when the bot receives a channels topic.
|
| <static> |
Event.TOPIC_PROTECTION_REMOVED
Fired when a channel removes topic protection.
|
| <static> |
Event.UNKNOWN
Fired when an unknown line is received.
|
| <static> |
Event.USER_LIST
Fired when the bot receives a channel's user-list.
|
| <static> |
Event.USER_MODE
Fired when a user mode is set.
|
| <static> |
Event.VERSION
Fired when the bot receives a CTCP TIME commmand.
|
| <static> |
Event.VOICE
Fired when someone is given voice.
|
Namespace Detail
Event
Holds all the event keys, which can be used for registering a plugin.
Author: AMcBain, 2008.
Author: AMcBain, 2008.
- Since:
- 2.0.1
Field Detail
<static>
Event.ACTION
Fired on action events.
<static>
Event.CHANNEL_BAN_REMOVED
Fired when a channel ban is removed.
<static>
Event.CHANNEL_INFO
Fired when channel information is received.
<static>
Event.CHANNEL_KEY_REMOVED
Fired when a channel key is removed.
<static>
Event.CHANNEL_LIMIT_REMOVED
Fired when a channel limit is removed.
<static>
Event.CONNECT
Fired on connection events.
<static>
Event.DE_VOICE
Fired when someone is devoiced.
<static>
Event.DEOP
Fired when someone is deoped.
<static>
Event.DISCONNECT
Fired when the bot is disconnected.
<static>
Event.FINGER
Fired when someone sends a CTCP FINGER to the bot.
<static>
Event.INVITE
Fired when the bot is invited to a channel.
<static>
Event.INVITE_ONLY_REMOVED
Fired when a channel is made invitation only.
<static>
Event.JOIN
Fired when someone joins a channel.
<static>
Event.KICK
Fired when someone is kicked.
<static>
Event.MESSAGE
Fired when someone says something on a channel.
<static>
Event.MODE
Fired when a channel mode is changed.
<static>
Event.MODERATED_REMOVED
Fired when a channel removes moderation mode.
<static>
Event.NICK_CHANGE
Fired when someone changes their nick.
<static>
Event.NO_EXTERNAL_MESSAGES_REMOVED
Fired when a channel removes no-external-messages mode.
<static>
Event.NOTICE
Fired when someone sends a notice to the bot.
<static>
Event.OP
Fired when someone is opped.
<static>
Event.PART
Fired when someone parts a channel.
<static>
Event.PING
Fired when someone pings the bot.
<static>
Event.PRIVATE_MESSAGE
Fired when someone sends a private message to the bot.
<static>
Event.PRIVATE_REMOVED
Fired when a channel is no longer private.
<static>
Event.QUIT
Fired when someone disconnects from the server.
<static>
Event.SECRET_REMOVED
Fired when a channel is no longer secret.
<static>
Event.SERVER_RESPONSE
Fired when the bot receives a server response line.
<static>
Event.SET_CHANNEL_BAN
Fired when a channel bans someone.
<static>
Event.SET_CHANNEL_KEY
Fired when a channel sets a channel key.
<static>
Event.SET_CHANNEL_LIMIT
Fired when a channel limit is set.
<static>
Event.SET_INVITE_ONLY
Fired when a channel is made invitation only.
<static>
Event.SET_MODERATED
Fired when a channel is made moderater only.
<static>
Event.SET_NO_EXTERNAL_MESSAGES
Fired when a channel no longer accepts external messages.
<static>
Event.SET_PRIVATE
Fired when a channel is made private.
<static>
Event.SET_SECRET
Fired when a channel is made secret.
<static>
Event.SET_TOPIC_PROTECTION
Fired when a channel sets topic protection.
<static>
Event.TIME
Fired when the bot receives a CTCP TIME command.
<static>
Event.TOPIC
Fired when the bot receives a channels topic.
<static>
Event.TOPIC_PROTECTION_REMOVED
Fired when a channel removes topic protection.
<static>
Event.UNKNOWN
Fired when an unknown line is received.
<static>
Event.USER_LIST
Fired when the bot receives a channel's user-list.
<static>
Event.USER_MODE
Fired when a user mode is set.
<static>
Event.VERSION
Fired when the bot receives a CTCP TIME commmand.
<static>
Event.VOICE
Fired when someone is given voice.