Skip to content

Message received event

Tkael edited this page Dec 20, 2022 · 14 revisions

Triggered when you receive a message.

When using this event in the Speech responder the information about this event is available under the event object. The available variables are as follows:

  • {event.channel} - The localized channel in which the message came (i.e. friend, local, multicrew, npc, player, squadron, starsystem, voicechat, wing)

  • {event.channel_invariant} - The invariant channel in which the message came (i.e. friend, local, multicrew, npc, player, squadron, starsystem, voicechat, wing)

  • {event.from} - The name of the source who sent the message

  • {event.message} - The message

  • {event.player} - True if the sender is a player

  • {event.seed} - A seed number generated from the sender information. This can be used with the VoiceDetails() function to assign a voice to a message sender.

  • {event.source} - The localized source of the transmission

  • {event.source_invariant} - The invariant source of the transmission

To respond to this event in VoiceAttack, create a command entitled ((EDDI message received)). VoiceAttack variables will be generated to allow you to access the event information.

The following VoiceAttack variables are available for this event:

  • {TXT:EDDI message received channel} - The localized channel in which the message came (i.e. friend, local, multicrew, npc, player, squadron, starsystem, voicechat, wing)

  • {TXT:EDDI message received channel invariant} - The invariant channel in which the message came (i.e. friend, local, multicrew, npc, player, squadron, starsystem, voicechat, wing)

  • {TXT:EDDI message received from} - The name of the source who sent the message

  • {TXT:EDDI message received message} - The message

  • {BOOL:EDDI message received player} - True if the sender is a player

  • {INT:EDDI message received seed} - A seed number generated from the sender information. This can be used with the VoiceDetails() function to assign a voice to a message sender.

  • {TXT:EDDI message received source} - The localized source of the transmission

  • {TXT:EDDI message received source invariant} - The invariant source of the transmission

For more details on VoiceAttack integration, see https://github.com/EDCD/EDDI/wiki/VoiceAttack-Integration.

Clone this wiki locally