Event

An Event is a custom triggered action determined to be triggered from a condition which will execute the provided callback once said condition is fulfilled.

Lua scripting
The event requires some initialization before registering: The client should display an image if one with the ref_name of the event is present, see reference name.

Adding receivers is relatively easy, multiple receivers can be passed to the add_receivers function:

An example event, most of the code is self explanatory:

Dynamic events
If you wish to create a dynamic event that changes text depending on the nation who is firing it - you may want to know that since 0.2.9 there has been Dynamic Event support - in which the ref_name of the country is passed as a parameter to the function.