Fakeraw » History » Version 4
Per Amundsen, 02/16/2023 12:31 PM
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 | 4 | Per Amundsen | table(ktable). |
12 | |*Parameter*|*Description*| |
||
13 | | [%var<notextile>|</notextile>text] | The %variable or raw text to parse. | |
||
14 | 1 | Per Amundsen | |
15 | *Example* |
||
16 | |||
17 | <pre> |
||
18 | 2 | Per Amundsen | ;Sends a fake message to #channel |
19 | 1 | Per Amundsen | /fakeraw :Nick!Ident@host.com PRIVMSG #channel :This is a fake message |
20 | 3 | Per Amundsen | |
21 | ;Set a variable with consecutive spaces. |
||
22 | //set %temp :asd!asd@asd PRIVMSG $me :a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b |
||
23 | |||
24 | ;Sends the fake message with the variable as parameter, consecutive spaces is now preserved. |
||
25 | /fakeraw %temp |
||
26 | 1 | Per Amundsen | </pre> |