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 title|On Parseline - Events}} | {{mirc title|On Parseline - Events}} | ||
− | 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">on <level>:parseline:in|out | + | <source lang="mIRC"> |
+ | on <level>:parseline:in|out:<matchtext>:<commands> | ||
+ | </source> | ||
+ | == Level == | ||
* '''<level>''' - The appropriate {{mIRC|access levels}} for the event. | * '''<level>''' - The appropriate {{mIRC|access levels}} for the event. | ||
− | |||
− | == | + | == Matchtext == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | See the {{mIRC|on text}} event page for a definition of the <matchtext> parameter | |
− | |||
− | on | ||
− | |||
− | |||
− | |||
− | < | ||
== {{mIRC|/parseline}} == | == {{mIRC|/parseline}} == | ||
Line 34: | Line 20: | ||
== Local identifiers == | == Local identifiers == | ||
− | The on parseline event | + | The on parseline event expose 3 local identifiers |
=== {{mIRC|$parsetype}} === | === {{mIRC|$parsetype}} === | ||
Line 42: | Line 28: | ||
=== {{mIRC|$parseline}} === | === {{mIRC|$parseline}} === | ||
− | Return the line being sent/received | + | Return the line being sent/received |
− | |||
− | |||
− | |||
− | |||
=== {{mIRC|$parseutf}} === | === {{mIRC|$parseutf}} === | ||
Line 53: | Line 35: | ||
== 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 41: | ||
{{mIRC on event list}} | {{mIRC on event list}} | ||
− | [[Category:mIRC on events| | + | [[Category:mIRC on events|text]] |