Fakeraw » History » Version 3
Per Amundsen, 01/17/2015 07:12 AM
| 1 | 1 | Per Amundsen | _Added in 1.8.10_ |
|---|---|---|---|
| 2 | |||
| 3 | 3 | Per Amundsen | */fakeraw [%var|text]* |
| 4 | 1 | Per Amundsen | |
| 5 | Intended for plugins who wants to take full control over certain raw aspects of AdiIRC or for debugging. |
||
| 6 | |||
| 7 | Can be used to make AdiIRC parse a raw message as if it came from a server, use with caution. |
||
| 8 | |||
| 9 | *Parameters* |
||
| 10 | |||
| 11 | [text] - The raw text to parse. |
||
| 12 | |||
| 13 | *Example* |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | 2 | Per Amundsen | ;Sends a fake message to #channel |
| 17 | 1 | Per Amundsen | /fakeraw :Nick!Ident@host.com PRIVMSG #channel :This is a fake message |
| 18 | 3 | Per Amundsen | |
| 19 | ;Set a variable with consecutive spaces. |
||
| 20 | //set %temp :asd!asd@asd PRIVMSG $me :a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b |
||
| 21 | |||
| 22 | ;Sends the fake message with the variable as parameter, consecutive spaces is now preserved. |
||
| 23 | /fakeraw %temp |
||
| 24 | 1 | Per Amundsen | </pre> |