$rawmsgx » History » Version 4
Per Amundsen, 12/14/2016 11:50 PM
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 | 4 | Per Amundsen | ; Listen to a channel text event. |
13 | 1 | Per Amundsen | on *:TEXT:*:#:{ |
14 | 4 | Per Amundsen | ; Create variable with and without consecutive spaces. |
15 | 1 | Per Amundsen | /var %text $rawmsgx vs $rawmsg |
16 | |||
17 | 4 | Per Amundsen | ; Print the variable. |
18 | 1 | Per Amundsen | /echox # %text |
19 | } |
||
20 | </pre> |