# OnQueryMessage A message has been received from a query
Parameters
    $0 = source nick
    $1 = source username
    $2 = source host
    $3 = message
Window
Query or console window.
Description
Triggered when a query message is received. If you return $false in this event, the message output will be stopped. This event is triggered in the query window associated to the source nick, or in the IRC context console window if the query window has not been created for some reason. Note that you can't stop the query window creation with this event: you must use OnQueryWindowRequest for that purpose. Note also that you may not receive this event if the anti-spam option is in use and KVIrc has detected that this might be a spam message. This is usually not an issue but if you care about it then write to pragma at kvirc dot net asking to add a OnSpam event.
See also
OnQueryWindowRequest OnQueryWindowCreated OnQueryTargetAdded OnChannelMessage OnDCCChatMessage

Index, Events

KVIrc 3.2.0 Documentation
Generated by root at Tue Dec 4 07:16:18 2007