Topicbox » History » Version 5
Per Amundsen, 12/16/2016 12:42 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.1_ |
|---|---|---|---|
| 2 | |||
| 3 | 3 | Per Amundsen | */topicbox [-dhostabNeNfNpvck] [window] [text|color]* |
| 4 | 1 | Per Amundsen | |
| 5 | 5 | Per Amundsen | Sets Topicbox visibility or visibility style and/or fills the Topicbox of the current or specified window with the specified text. |
| 6 | 1 | Per Amundsen | |
| 7 | *Switches* |
||
| 8 | |||
| 9 | -d - Use default visibility option. |
||
| 10 | 2 | Per Amundsen | -h - Show Topicbox as one line, expandable on click. |
| 11 | -o - Hide Topicbox |
||
| 12 | -s - Set current topicbox option as default for all Topicbox's. |
||
| 13 | -t - Show Topicbox multiline sticky. |
||
| 14 | -a - Use the Topicbox from the current active window. |
||
| 15 | -bN - Set selection start to position N. |
||
| 16 | -eN - Set selection end to position N. |
||
| 17 | 5 | Per Amundsen | -fN - If N = 1/[$null] sets focus to the Topicbox and makes sure the window is not minimized and active. |
| 18 | 2 | Per Amundsen | -p - Append a white-space after the text. |
| 19 | -v - Prevents the Topicbox contents from being changed. |
||
| 20 | -c - Sets the Topicbox text color. |
||
| 21 | -k - Sets the Topicbox background color. |
||
| 22 | 1 | Per Amundsen | |
| 23 | *Parameters* |
||
| 24 | |||
| 25 | [window] - Window to change the Topicbox. |
||
| 26 | 4 | Per Amundsen | [text|color] - Text to set or color to set with -c and -k switches. |
| 27 | 1 | Per Amundsen | |
| 28 | *Example* |
||
| 29 | |||
| 30 | <pre> |
||
| 31 | 2 | Per Amundsen | ; Show Topicbox as one line on #channel. |
| 32 | 1 | Per Amundsen | /topicbox -h #channel |
| 33 | |||
| 34 | 2 | Per Amundsen | ; Hide Topicbox on #channel. |
| 35 | 1 | Per Amundsen | /topicbox -o #channel |
| 36 | 2 | Per Amundsen | |
| 37 | ; Set the Topicbox text for #channel. |
||
| 38 | /topicbox #channel Test Topic |
||
| 39 | 1 | Per Amundsen | </pre> |