
|
The following XChat script is free to use as you see fit, as long as you don't claim it as your own.*
- Show Highlight
- Version: 3.2
- Date: 2010-07-30
- Description: Show highlighted messages in a seperate tab. Messages will
be displayed as if sent from the user, however will be appended with
"/#channelname".
- Starting in version 1.2, XChat 2.8.2 or newer is required (plays better
with some other scripts)
- New in 3.2:
- Allow tab of highlight to change to some other color
- New in 3.1:
- The highlight tab may now be the actual server tab
- New in 3.0:
- The highlight tab wil never take the focus away from you
- New nick_format and msg_format variables which allow for more control of
channel formating, as well as the addition of the connected network for
when shared_tab is used. The channel and network can now be added to
both the appearance of the nick, as well as before or after the message
body.
- Example: A tab named "highlight" will be created (can be renamed in config)
that will either catch all highlights from all networks, or may be set
to seperate the networks. In this tab, it will be filled with lines:
- <someuser/#channel> Hey yournick, how are you?
- * +voiceduser/#channel violently slaps yournick
- Usage: /sh_set [-q] [-e] <variable> [<value>] set a variable, or view current value. -q is for quiet, -e sets to default or erases
| Variable | Accepted | Description |
| highlight_tab | any string | The string to use as a highlight tab, no double quotes (") (default is "highlight") |
| shared_tab | 0, 1, 2 | 0: no sharing of tabs; 1: networks share highlight tab; 2: shared with the server tab |
| color_tab | -1 — 3 | What color to change the tab to: -1) old behavior (default); 0) always none; 1) always new data; 2) always new message; 3) always highlight |
| quiet_manage | 1 or 0 | if 1, the options in the right click won't announce changes |
| gui_manage | 1 or 0 | if 0, the normal right click menu won't have options |
| nick_format | any string | What should be used for nick formating, for additional details |
| msg_format | any string | What should be used for message formating, similar to above |
|
Both nick_format and msg_format can use:
| %channel% | name of the channel |
| %network% | name of the network based on resolve_type |
| %network_list% | network as specified in network list |
| %network_server% | actual server name |
| %network_reported% | network as returned by server on connect (sometimes) |
Additionally, nick_format may use %nick% and msg_format may use %message%
|
| resolve_type | int | How should %network% be resolved in order:
- As specified in network list, as reported by server, server address
- As specified in network list, server address
- As reported by server, as specified in network list, server address
- As reported by server, server address
|
- Usage: /sh_ignore [-q] <nick> add nick to the Show Highlight ignore list
- Usage: /sh_allow [-q] <nick> remove nick from the Show Highlight ignore list
- Download: showhighlight-3.2.pl
* Scripts are (unless otherwise stated) licensed under the zlib license, which is summarized up top.
View all available scripts
|