From WikiChip
Difference between revisions of "mirc/on events/on parseline"
< mirc‎ | on events

(Local identifiers)
({{mIRC|$parseline}})
Line 24: Line 24:
 
=== {{mIRC|$parseline}} ===
 
=== {{mIRC|$parseline}} ===
  
Return the message
+
Return the line being sent/received
  
 
=== {{mIRC|$parseutf}} ===
 
=== {{mIRC|$parseutf}} ===

Revision as of 06:28, 20 January 2016

Template:mIRC Guide The on parseline event triggers before incoming/outgoing IRC server lines are received/sent and allows a script to modify them

Synopsis

on <level>:parseline:in|out:<matchtext>:<commands>

Level

Matchtext

See the on text event page for a definition of the <matchtext> parameter

Local identifiers

The on parseline event expose 3 local identifiers

$parsetype

Return the type of line, "in" or "out"

$parseline

Return the line being sent/received

$parseutf

Return the message $true if mIRC is going to decode/encode utf8 the message after the on parseline event

See also