$msgx » History » Version 3
Per Amundsen, 01/18/2017 07:19 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.3_ |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Per Amundsen | *$msgx* |
| 4 | 1 | Per Amundsen | |
| 5 | Returns $1- in a consecutive spaced line. |
||
| 6 | |||
| 7 | *Example* |
||
| 8 | |||
| 9 | <pre> |
||
| 10 | 3 | Per Amundsen | ; Listen to a channel text event. |
| 11 | 1 | Per Amundsen | on *:TEXT:*:#:{ |
| 12 | ;Create variable with and without consecutive spaces |
||
| 13 | /var %text $msgx vs $1- |
||
| 14 | |||
| 15 | 3 | Per Amundsen | ; Print the variable. |
| 16 | 1 | Per Amundsen | /echox # %text |
| 17 | } |
||
| 18 | </pre> |