Silver's Simple Site - Weblog - Tags - Scripts


ChatZilla: Notify on All Messages

ChatZilla users have for a while wanted to get a notification on all messages, but we've never considered it important enough to warrant fixing individually, instead opting to recommended some workarounds:

  • Add all vowels/letters to the Stalk List, thus triggering the normal stalk matching on (almost) every message.
  • Write a simple script, but never providing one ourselves.
  • Wait for the new message filtering which will be able to do it, among many other variations.

Today, another user asked for this feature, and I caved in and wrote a script to do it. To install the script:

  1. Find the scripts folder. You can use either /pref profilePath or /pref initialScripts since the latter defaults to the "scripts" subdirectory of the former. You want the "scripts" subdirectory, if that wasn't obvious.
  2. Create a new directory for this script. My suggested name is "message-notify", just to match the script's ID, but ChatZilla doesn't care.
  3. Save the script itself into the new directory, making sure to name it "init.js".
  4. Reload all scripts with "/eval processStartupScripts()". This will reload all the scripts found in the subdirectories of the "scripts" directory - including the new one.

The following message categories trigger the script, but only when the window is inactive (nothing happens if the window is active):

  • channel:privmsg
  • channel:action
  • channel:notice
  • channel:join
  • channel:part
  • channel:quit
  • channel:kick

The script has two preferences:

  • sound - specifies what sound to play when a message arrives. Defaults to "beep", and can accept the same things as the standard ChatZilla sound preferences (namely, a file: URL, "beep" or "none").
  • attention - specifies whether to grab the user's attention, which usually means flashing the window but can vary by platform. Defaults to "true".

Enjoy.

Permalink | Author: | Tags: ChatZilla, Scripts | Posted: 09:09PM on Friday, 08 June, 2007 | Comments: 0


ChatZilla Plugin: Network Trace

Source: https://github.com/twpol/cz-plugin-network-trace

This plugin for ChatZilla allows you to see the incoming and outgoing network messages easily.

Commands

  • /network-trace [<toggle>]

    Without any arguments, displays the tracing status for the current network.

    With the toggle argument, controls the tracing status for the current network. "true", "on", "yes" and "1" will enable tracing. "false", "off", "no" and "0" will disable tracing.

Output

[<<] PING :fripp.mozilla.org
[>>] PONG :fripp.mozilla.org
[>>] JOIN #channel
[<<] :Nickname!chatzilla@hostname JOIN :#channel
[<<] :fripp.mozilla.org 353 Nickname = #channel :@Nickname
[<<] :fripp.mozilla.org 366 Nickname #channel :End of /NAMES list.
[>>] MODE #channel
[<<] :fripp.mozilla.org 324 Nickname #channel +nt
[<<] :fripp.mozilla.org 329 Nickname #channel 1454711109
[>>] PART #channel :
[<<] :Nickname!chatzilla@moz-eif.ga4.155.217.IP PART #channel :""

Installation

If you have ChatZilla build 0.9.92 2016-02-08 19:00 or later, you can do:

/install-plugin https://github.com/twpol/cz-plugin-network-trace/archive/master.zip

Otherwise, due to a bug, you will need to download the master archive and extract it in to a new subfolder of the "scripts" folder. This can be found inside the path shown by the command "/pref profilePath".

E.g.

[INFO] Preference “profilePath” is “C:\Users\James\AppData\Roaming\Mozilla\Firefox\Profiles\secret.dev-edition-default\chatzilla”.

means the best place to extract the archive is

C:\Users\James\AppData\Roaming\Mozilla\Firefox\Profiles\secret.dev-edition-default\chatzilla\scripts\network-trace

Permalink | Author: | Tags: ChatZilla, Scripts | Posted: 09:30PM on Sunday, 14 February, 2016 | Comments: 0


ChatZilla Plugin: Topic Diff

Source: https://github.com/twpol/cz-plugin-topic-diff

This plugin for ChatZilla shows you the changes made to a channel's topic.

Example

=-= Nickname has changed the topic to “ChatZilla topic diff test”
=-= Nickname has changed the topic to “ChatZilla diff test”
=-= Nickname deleted "topic ".
=-= Nickname has changed the topic to “ChatZilla diff testing!”
=-= Nickname added "ing!".
=-= Nickname has changed the topic to “ChatZilla topic diffing”
=-= Nickname added "topic ", deleted " test", deleted "!".

Permalink | Author: | Tags: ChatZilla, Scripts | Posted: 08:00PM on Sunday, 21 February, 2016 | Comments: 0


ChatZilla Plugin: Activity in Title

Source: https://github.com/twpol/cz-plugin-activity-in-title

This plugin for ChatZilla shows activity in channels and private messages in the title bar.

Display - Text

The textual display shows up to three groups, each containing a list of views in that state.

  • <...> indicates items with stalk events (e.g. mentions of your nickname, stalk words, and private messages).
  • [...] indicates items with chat events (e.g. all talking in channels).
  • (...) indicates items with superfluous events (e.g. joins, parts, topic changes).

Display - Symbol

The symbolic display shows a single symbol for each view, in the same order as the textual display groups.

  • ! indicates an item with stalk events (e.g. mentions of your nickname, stalk words, and private messages).
  • + indicates an item with chat events (e.g. all talking in channels).
  • - indicates an item with superfluous events (e.g. joins, parts, topic changes).

Preferences

  • display.symbol boolean (default false)

    When enabled, the display is just status symbols (!, + and -). Otherwise, the display is (possibly truncated) names.

  • display.crop integer (default 0)

    Specifies how much of the view name to include, in characters. A value of 0 turns off truncation.

  • titlebar.event boolean (default false)

    When enabled, the title bar includes superfluous events.

  • titlebar.chat boolean (default true)

    When enabled, the title bar includes chat events.

  • titlebar.stalk boolean (default true)

    When enabled, the title bar includes stalk events.

Examples

  • <UserA, UserB> [#channelA] (#channelB) ChatZilla!

    In this example, UserA and UserB have stalk events, #channelA has chat events, and #channelB has superfluous events. Superfluous events are hidden by default.

  • !!+-ChatZilla!

    This is the same as the example above, but with display.symbol set to true.

Permalink | Author: | Tags: ChatZilla, Scripts | Posted: 09:00PM on Sunday, 28 February, 2016 | Comments: 0


ChatZilla Plugin: Input Keys

Source: https://github.com/twpol/cz-plugin-input-keys

This plugin for ChatZilla lets you type most text formatting commands with keyboard shortcuts.

Shortcuts

  • Control-B for bold
  • Control-U for underline
  • Control-K for color
  • Control-O for reset (original)

Permalink | Author: | Tags: ChatZilla, Scripts | Posted: 09:00PM on Sunday, 13 March, 2016 | Comments: 0

Powered by the Content Parser System, copyright 2002 - 2024 James G. Ross.