From WikiChip
Editing mirc/on events/on parseline
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{mIRC Guide}} |
− | The '''on parseline''' event triggers before incoming/outgoing IRC server lines are received/sent and allows a script to modify them | + | The '''on parseline''' event triggers before incoming/outgoing IRC server lines are received/sent and allows a script to modify them |
− | |||
− | |||
− | |||
− | |||
== Synopsis == | == Synopsis == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<source lang="mIRC"> | <source lang="mIRC"> | ||
− | on | + | on <level>:parseline:in|out:<matchtext>:<commands> |
− | + | </source> | |
− | ''' | + | == Level == |
− | + | * '''<level>''' - The appropriate {{mIRC|access level}} for the event. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | == Matchtext == |
− | + | See the {{mIRC|on text}} event page for a definition of the <matchtext> parameter | |
== Local identifiers == | == Local identifiers == | ||
− | The on parseline event | + | The on parseline event expose 3 local identifiers |
=== {{mIRC|$parsetype}} === | === {{mIRC|$parsetype}} === | ||
Line 42: | Line 24: | ||
=== {{mIRC|$parseline}} === | === {{mIRC|$parseline}} === | ||
− | Return the line being sent/received | + | Return the line being sent/received |
− | |||
− | |||
− | |||
− | |||
=== {{mIRC|$parseutf}} === | === {{mIRC|$parseutf}} === | ||
− | Return $true if mIRC is going to decode/encode utf8 the message after the on parseline event | + | Return the message $true if mIRC is going to decode/encode utf8 the message after the on parseline event |
== See also== | == See also== | ||
− | |||
− | |||
− | |||
* [[List of on events - mIRC|List of on events]] | * [[List of on events - mIRC|List of on events]] | ||
* [[List of identifiers - mIRC|List of identifiers]] | * [[List of identifiers - mIRC|List of identifiers]] | ||
Line 62: | Line 37: | ||
{{mIRC on event list}} | {{mIRC on event list}} | ||
− | [[Category:mIRC on events| | + | [[Category:mIRC on events|text]] |