Event: onQueryCommand

Execute special command in query.

Synopsis

function onQueryCommand(server, origin, message)

Arguments

  • server: the current server,
  • origin: who invoked the command,
  • message: the real message, without the ! part.

Synonym of onCommand but for queries.