Event: onQuery

This event is triggered when someone sent a private message to you.

Synopsis

function onQuery(server, origin, message)

Arguments

  • server: the current server,
  • origin: the person who said something,
  • message: the message sent.