_Added in 1.9.7_
*on :PARSELINE::matchtext:*
Triggers before incoming/outgoing server lines are received/sent and allows a script to modify them.
_See also [[/parseline]], [[$parsetype]], [[$parseline]]._
*Parameters*
- The [[User Access Level]] for the event to trigger.
- Listen to in/out messages or both.
- The [[Matchtext]] to listen to.
- The commands to be performed when the event listener's criteria is met.
*Example*
on *:PARSELINE:in:*badword*:/parseline -it $replace($parseline, badword, newword)