From WikiChip
Difference between revisions of "mirc/on events/on parseline"
m (Bot: adding missing title) |
m |
||
Line 41: | Line 41: | ||
{{mIRC on event list}} | {{mIRC on event list}} | ||
− | [[Category:mIRC on events| | + | [[Category:mIRC on events|parseline]] |
Revision as of 10:30, 21 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The on parseline event triggers before incoming/outgoing IRC server lines are received/sent and allows a script to modify them
Contents
Synopsis
on <level>:parseline:in|out:<matchtext>:<commands>
Level
- <level> - The appropriate access levels for the event.
Matchtext
See the on text event page for a definition of the <matchtext> parameter
/parseline
Inside this event, you can use /parseline without the -q switch to change the line.
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 $true if mIRC is going to decode/encode utf8 the message after the on parseline event
See also
mIRC on event list