view doc/src/api/event/onNotice.md @ 687:84537e43b352

Tests: add [rule] load tests, continue #779
author David Demelier <markand@malikania.fr>
date Fri, 13 Apr 2018 22:32:30 +0200
parents ebdc614db066
children
line wrap: on
line source

# Event onNotice

This event is triggered when someone sent a notice to you.

# Synopsis

```javascript
function onNotice(server, origin, notice)
```

# Arguments

  - **server**: the current server,
  - **origin**: the one who sent the notice,
  - **message**: the notice message.