$rawmsgx » History » Version 3
Per Amundsen, 08/06/2015 03:16 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.3_ |
|---|---|---|---|
| 2 | |||
| 3 | *$rawmsgx* |
||
| 4 | |||
| 5 | 3 | Per Amundsen | Returns raw server line for [[Scripting_Events|events]]. |
| 6 | 2 | Per Amundsen | |
| 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> |