$rawmsgx » History » Version 2
Per Amundsen, 06/27/2014 02:33 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.3_ |
|---|---|---|---|
| 2 | |||
| 3 | *$rawmsgx* |
||
| 4 | |||
| 5 | 2 | Per Amundsen | Returns raw server line for server events. |
| 6 | |||
| 7 | Same as [[$rawmsg]] but as a consecutive spaced line. |
||
| 8 | 1 | Per Amundsen | |
| 9 | *Example* |
||
| 10 | |||
| 11 | <pre> |
||
| 12 | ;Listen to a channel text event |
||
| 13 | on *:TEXT:*:#:{ |
||
| 14 | ;Create variable with and without consecutive spaces |
||
| 15 | /var %text $rawmsgx vs $rawmsg |
||
| 16 | |||
| 17 | ;Print the variable |
||
| 18 | /echox # %text |
||
| 19 | } |
||
| 20 | </pre> |