From WikiChip
Difference between revisions of "mirc/identifiers/$stripped"
Maroonbells (talk | contribs) m |
(→Example) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{mirc title|$stripped Identifier}}'''$stripped''' returns the number of control codes that were stripped from an incoming message, if any, due to the settings in mIRC-options/IRC/Messages/"Strip codes from incoming messages". This can be used in any script event that triggers when a message is received from a user, including {{mIRC| | + | {{mirc title|$stripped Identifier}}'''$stripped''' returns the number of control codes that were stripped from an incoming message, if any, due to the settings in mIRC-options/IRC/Messages/"Strip codes from incoming messages". This can be used in any script event that triggers when a message is received from a user, including {{mIRC|on text}}, {{mIRC|on action}}, and {{mIRC|ctcp events|CTCP}}. |
| − | '''Note:''' It does | + | '''Note:''' It does '''NOT''' count control codes stripped by the {{mIRC|$strip}} identifier. |
== Synopsis == | == Synopsis == | ||
<pre>$stripped</pre> | <pre>$stripped</pre> | ||
| − | == | + | == Parameters == |
| − | |||
None | None | ||
== Properties == | == Properties == | ||
| − | |||
None | None | ||
== Example == | == Example == | ||
| − | <source lang="mIRC">on *: | + | <source lang="mIRC">on *:TEXT:*:#: echo -a $stripped</source> |
| + | |||
== Compatibility == | == Compatibility == | ||
{{mIRC compatibility|6.0}} | {{mIRC compatibility|6.0}} | ||
== See Also == | == See Also == | ||
| − | {{mIRC|$strip}} | + | * {{mIRC|$strip}} |
| − | [[Category: | + | {{mIRC identifier list}} |
| + | |||
| + | [[Category:mIRC identifiers|stripped]] | ||
Latest revision as of 10:27, 7 October 2025
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$stripped returns the number of control codes that were stripped from an incoming message, if any, due to the settings in mIRC-options/IRC/Messages/"Strip codes from incoming messages". This can be used in any script event that triggers when a message is received from a user, including on text, on action, and CTCP.
Note: It does NOT count control codes stripped by the $strip identifier.
Synopsis[edit]
$stripped
Parameters[edit]
None
Properties[edit]
None
Example[edit]
on *:TEXT:*:#: echo -a $stripped
Compatibility[edit]
Added: mIRC v6.0
Added on: 03 Feb 2002
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also[edit]
mIRC identifier list