Echox » History » Version 23
Mr. BS, 03/07/2017 07:48 PM
| 1 | 22 | Mr. BS | {{css |
|---|---|---|---|
| 2 | 23 | Mr. BS | .ktable{width:99%}.ktable td{border-bottom:none!important;border-top:none!important}.ktable th:nth-child(1){min-width:130px!important}.ktable tr:not(:first-child):hover{background-color:#ffffdd} |
| 3 | 22 | Mr. BS | }} |
| 4 | |||
| 5 | 1 | Per Amundsen | _Added in 1.9.3_ |
| 6 | |||
| 7 | 20 | Per Amundsen | */echox [color] [-abcdefghiNlmnqrstNuvwNINSB] [color name] [window] %var* |
| 8 | 1 | Per Amundsen | |
| 9 | 17 | Per Amundsen | Prints text in the specified window using the specified color (0 to 35). |
| 10 | 3 | Per Amundsen | |
| 11 | 1 | Per Amundsen | Same as [[/echo]] but evaluates a variable instead of text and allows printing consecutive spaces. |
| 12 | |||
| 13 | _See also [[$msgx]]._ |
||
| 14 | |||
| 15 | *Switches* |
||
| 16 | |||
| 17 | 22 | Mr. BS | table(ktable). |
| 18 | |_<.Switch|_<.Description| |
||
| 19 | | -a | Prints to the current active window. | |
||
| 20 | | -b | Apply beep options. | |
||
| 21 | | -c | Indicates [color name] is defined after the switches. (not [color]) | |
||
| 22 | | -d | TODO | |
||
| 23 | | -e | Encloses the line in line separators. | |
||
| 24 | | -f | Apply flash options. | |
||
| 25 | | -g | Prevents the echo from being logged. | |
||
| 26 | | -h | TODO | |
||
| 27 | | -i<N> | Indents the wrapped line by N characters. | |
||
| 28 | | -l | Apply highlight options. | |
||
| 29 | | -m | This echo should be treated as a normal message. | |
||
| 30 | | -n | Prevents the echo from highlighting the window Treebar/Switchbar icon. | |
||
| 31 | | -q | Don't print if called from a alias using the . prefix. | |
||
| 32 | | -r | Apply strip colors/bold/italic/underline options. | |
||
| 33 | | -s | Prints to the status/server window associated with current window. | |
||
| 34 | | -t<N> | Apply timestamp prefix options. N is a optional UTC value to use for the timestamp. | |
||
| 35 | | -u | Indicates the first word is *not* a nick column prefix. | |
||
| 36 | | -v | Indicates the first word/token is a timestamp. | |
||
| 37 | | -w<N> | if N = 0, replaces emoticon tags in all token except the first one, N = 1, replaces only the first token, N = 2, replaces all tokens. | |
||
| 38 | | -I<N> | Inserts the line at position N in the buffer. (AdiIRC only) | |
||
| 39 | | -S | Used with --I<N> to force the buffer to scroll he number of wrapped lines of the inserted line. (AdiIRC only) | |
||
| 40 | | -R<N> | Replaces the line at position N in the buffer. (AdiIRC only) | |
||
| 41 | | -B | Indicates the [color] color is in [[$rgb]] format. (AdiIRC only) | |
||
| 42 | 21 | Mr. BS | |
| 43 | 1 | Per Amundsen | *Parameters* |
| 44 | |||
| 45 | 22 | Mr. BS | table(ktable). |
| 46 | |_<.Parameter|_<.Description| |
||
| 47 | | [color] | A numeric color value to use as line color (0 to 37). | |
||
| 48 | | [color name] | Used with the -c switch. One of the following: Action, ctcp, highlight, info, info2, invite, join, part, quit, kick, mode, topic, nick, normal, notice, notify, other, own, wallops, whois. | |
||
| 49 | | [window] | The target window. | |
||
| 50 | | <text> | The text to print. | |
||
| 51 | 1 | Per Amundsen | |
| 52 | *Example* |
||
| 53 | |||
| 54 | 16 | Per Amundsen | <pre> |
| 55 | 1 | Per Amundsen | ; Create a variable with the text a b. |
| 56 | 5 | Per Amundsen | /var %var a $+ $chr(32) $+ $chr(32) $+ $chr(32) $+ $chr(32) b |
| 57 | 16 | Per Amundsen | |
| 58 | 2 | Per Amundsen | ; Prints the variable to current active window. |
| 59 | 1 | Per Amundsen | /echox -a %var |
| 60 | </pre> |