$stripped » History » Version 3
Per Amundsen, 08/10/2015 08:27 AM
1 | 1 | Per Amundsen | _Added in 1.9.4_ |
---|---|---|---|
2 | |||
3 | *$stripped* |
||
4 | |||
5 | 2 | Per Amundsen | Returns the number of [[Formatting_Text|control codes]] that were stripped from an incoming message, if any. |
6 | 1 | Per Amundsen | |
7 | _Used in [[on TEXT]], [[on NOTICE]], [[on CTCP]], [[on PART]], [[on QUIT]] and [[on SNOTICE]], possibly others as well._ |
||
8 | 2 | Per Amundsen | |
9 | *Example* |
||
10 | |||
11 | <pre> |
||
12 | 3 | Per Amundsen | on *:TEXT:*:*:echo -ag Number of stripped control codes is $stripped |
13 | 2 | Per Amundsen | </pre> |