From WikiChip
Difference between revisions of "mirc/identifiers/$stripped"
< mirc‎ | identifiers

(Created page with "{{mirc title|$stripped Identifier}}'''$stripped''' returns the number of control codes that were stripped from an incoming message, if any. This can be used in any script even...")
 
m
Line 1: Line 1:
{{mirc title|$stripped Identifier}}'''$stripped''' returns the number of control codes that were stripped from an incoming message, if any. This can be used in any script event that triggers when a message is received from a user.
+
{{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 events/on text|ON TEXT}}, {{mIRC|on events/on action|ON ACTION}}, and {{mIRC|ctcp events|CTCP}} [[CTCP Events - mIRC|CTCP]].
 +
 
 +
'''Note:''' It does *NOT* count control codes stripped by the {{mIRC|$strip}} identifier.
  
 
== Synopsis ==
 
== Synopsis ==
Line 14: Line 16:
 
== Example ==
 
== Example ==
 
<source lang="mIRC">on *:text:*:#:echo -a $stripped</source>
 
<source lang="mIRC">on *:text:*:#:echo -a $stripped</source>
 
 
== Compatibility ==
 
== Compatibility ==
 
{{mIRC compatibility|6.0}}
 
{{mIRC compatibility|6.0}}

Revision as of 12:17, 20 June 2017

$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 CTCP.

Note: It does *NOT* count control codes stripped by the $strip identifier.

Synopsis

$stripped

Paramters

None

Properties

None

Example

on *:text:*:#:echo -a $stripped

Compatibility

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

$strip