$msgx » History » Version 2
Per Amundsen, 06/22/2014 01:55 PM
| 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 | ;Listen to a channel text event |
||
| 11 | on *:TEXT:*:#:{ |
||
| 12 | ;Create variable with and without consecutive spaces |
||
| 13 | /var %text $msgx vs $1- |
||
| 14 | |||
| 15 | ;Print the variable |
||
| 16 | /echox # %text |
||
| 17 | } |
||
| 18 | </pre> |