# On Raid

```lua
function yourEvent(user)
    log('Thanks for raiding me @' .. user.displayName);
end

return function()
    addEvent('raid', 'yourEvent');
    keepAlive();
end
```

{% hint style="info" %}
Events are asynchronous coroutines.
{% endhint %}
