From 595395573fab7cc5e342b7f30f79d568c10fd0a0 Mon Sep 17 00:00:00 2001 From: tduva Date: Sat, 9 Apr 2022 21:50:15 +0200 Subject: [PATCH] v0.18 files --- help/help-custom_commands.html | 38 +++++++++++++++++++--- help/help-livestreamer.html | 14 ++++++++ help/help-releases.html | 59 +++++++++++++++++++++++++++++++++- help/help-settings.html | 44 +++++++++++++++++++++++++ help/help.html | 55 ++++++++++++++++++++++++++++++- index.html | 16 ++++----- 6 files changed, 212 insertions(+), 14 deletions(-) diff --git a/help/help-custom_commands.html b/help/help-custom_commands.html index 01bbc8b..61c265a 100644 --- a/help/help-custom_commands.html +++ b/help/help-custom_commands.html @@ -20,6 +20,7 @@
  • Anonymous Custom Commands
  • Chaining Commands
  • Foreach
  • +
  • Run command in specific channel
  • @@ -116,6 +117,10 @@ to run the same command for each entry of a space-separated list, for example a list of channels from the $1- replacement.

    +

    Run command in specific channel

    +

    The /runin command can be used + to run a command in a specific open channel.

    +

    Replacements

    Pre-defined Parameters Example

    @@ -537,12 +561,13 @@
    Example: $input()
    Example: $input(Enter a number please)
    -
    $datetime([format],[timezone],[locale])
    +
    $datetime([format],[timezone],[locale],[unix time])
    Outputs the current date/time. You can optionally give a format pattern (based on DateTimeFormatter), a timezone (based on ZoneId, although something like "New York" should also work) and a locale - (a language tag such as "en").
    + (a language tag such as "en"). The optional unix time parameter must + be in milliseconds.
    Predefined formats:
    • Short: date, time, datetime
    • @@ -588,6 +613,11 @@
      (Custom format, , escaped since it normally separates function parameters, empty timezone in order to be able to specify locale.)
      + +
      $datetime(datetime2,Berlin,,1646937275000)
      +
      2022-03-10 19:34:35 MEZ GMT+0100
      +
      (Preset format, with timezone, no locale, with a time + specified in milliseconds since 1970-01-01 00:00:00 UTC.)
      diff --git a/help/help-livestreamer.html b/help/help-livestreamer.html index 169ad32..f6d5cde 100644 --- a/help/help-livestreamer.html +++ b/help/help-livestreamer.html @@ -42,6 +42,20 @@ re-run the last command of that tab (for example when it couldn't find the stream, but you want to retry now because you know it's come online).

      +

      Command

      +

      The /livestreamer command can be entered into the inputbox + or used in a Custom Command to run Livestreamer/Streamlink as configured + in the Streamlink dialog.

      + +
      +
      /livestreamer <stream> [quality]
      +
      The stream is required, if no quality is given the dialog will open + to be able to select it.
      +
      Instead of specifying a stream $active can be used to + open the stream of the currently active channel.
      +
      Example: /livestreamer joshimuz best
      +
      +

      Settings

      The settings can be changed in the Streamlink dialog.

      diff --git a/help/help-releases.html b/help/help-releases.html index 36dd330..ff42c34 100644 --- a/help/help-releases.html +++ b/help/help-releases.html @@ -17,6 +17,7 @@

      Release Information

      + 0.18 | 0.17 | 0.16 | 0.15 | @@ -66,7 +67,63 @@ full list of changes.

      - Version 0.17 (This one!) (2022-01-31) + Version 0.18 (This one!) (2022-04-09) + [back to top] +

      +
      +### Twitch Features
      +- Added new Announcement messages and `/announce` command (Twitch hasn't added
      +  commands for the color variants yet)
      +- Added badge for first message in channel (shown for mods only)
      +- Added workaround for Twitch filtering out Emoji joiner characters
      +
      +### Highlight / Ignore Matching
      +- Added separate `_global_highlightBlacklist` and `_global_ignoreBlacklist`
      +  Matching Preset names
      +- Added Highlight Matching substitutes / lookalikes
      +- Added setting and prefix to allow messages to be highlighted even if they
      +  would otherwise have been ignored (Override Ignore if Highlighted)
      +- Added `if:` Matching prefix to specify conditions with an "or" relationship
      +
      +### Custom Commands
      +- Added additional Custom Command identifiers related to user/channel
      +- Added identifier for User Dialog/Context Menu selected message time
      +- Added optional unix time input to `$datetime()` Custom Command function
      +- Added `/runin` command to run a command in a specific channel
      +
      +### Other Settings
      +- Added badge scaling settings
      +- Emote scaling setting now applies to GIFs as well
      +- Added option to add Stream Uptime to timestamps
      +- Added search field to Settings Dialog
      +- Added sound test button to Sound Settings tab
      +- Added setting to show Connect Dialog (when it usually wouldn't) if login or
      +  channel is missing
      +- Added hotkey action to switch to a specific tab index/channel
      +- Added warning to hotkey table when the same key is used more than once
      +
      +### Other
      +- Added a new badge context menu entry to hide badges (you could already add a
      +  Custom Badge with no image for that, but this is a bit more straightforward)
      +- Added "View" menu entry to toggle the userlist, changed default hotkey
      +- Updated help
      +
      +### Bugfixes
      +- Fixed scaling on Emote Details page
      +- Fixed Favorite Emotes not working properly for Local Emotes
      +- Make GIF animations (of the same image) more likely to stay synchronized
      +- Fixed some emotes showing "[modified]" when they weren't actually emotes
      +  modified by channel points
      +- Added workaround for played sounds sometimes not being cleaned up correctly
      +- Fixed focus being stolen from the input box when a second channel is opened
      +- Fixed error sometimes occuring when closing window and moving mouse over chat
      +- Fixed rare edge case where a PubSub message could reopen a closed channel tab
      +- Fixed small issues when adding a hidden badge
      +- Fixed error that could occur when saving the "login" file failed
      +    
      + +

      + Version 0.17 (2022-01-31) [back to top]

      The Twitch v5 API is scheduled to be shutdown at the end of February 2022 diff --git a/help/help-settings.html b/help/help-settings.html index 7d97306..5acbc8c 100644 --- a/help/help-settings.html +++ b/help/help-settings.html @@ -1074,6 +1074,17 @@

    • config:!blacklist - Ignore the overall blacklist for this entry. The blacklist: prefix still applies though.
    • +
    • config:!ignore - Allows an ignored message to + be highlighted and overrides the ignored status of the + message, so it shows up as a regular highlighted message. + In the Highlight settings you can also enable this for all + Highlight items, without having to apply this prefix to each + one.
    • +
    • config:s, config:!s - Enable or + disable Substitutes. You can turn it on for all items by + default in the "Substitutes / Lookalikes" dialog in the + Highlight settings (if no prefix is provided it will use the + default setting).
  • blacklist: to specify one or more text patterns @@ -1093,6 +1104,33 @@ in the message, while blacklist:!cheesecake reg:^!\w+ will only prevent the match when it fully encompasses the regular text match, so only when the message starts with !cheesecake.
  • +
  • if: to specify + additional conditions that have an "or" relationship to eachother. + This is a comma-separated list (enclose spaces and commas in quotes + to ignore them) of Highlight items, whereas at least one has to + match. +

    + Prefixes in an item always have an "and" relationship, so they all + have to match (cat:abc user:a_name requires the "abc" + Addressbook category and the "a_name" username), the if: allows for + some more flexibility (if:"cat:abc","user:a_name" requires + only one of them). +

    + Example: config:any if:"config:info start:[AutoMod]"," " reg:complicated regex +
  • Meta Prefixes (Behaviour)

    @@ -1114,6 +1152,12 @@
  • n: to provide a note that is ignored for matching. diff --git a/help/help.html b/help/help.html index d40239a..18eeb96 100644 --- a/help/help.html +++ b/help/help.html @@ -5,7 +5,7 @@ -

    Chatty (Version: 0.17)

    +

    Chatty (Version: 0.18)

    @@ -194,7 +194,7 @@ function getDownloads(tag) {
    @@ -569,6 +569,59 @@ +

    Run a command in a specific open channel

    +

    The /runin command runs a command in the context of a + specific open channel, as if you had entered it into the channel's + inputbox. Without this, commands usually run in the context of the + currently active channel.

    + +
    +
    /runin [channel] [command]
    +
    The channel must be a regular channel with or without leading "#" (#channelname) + or a whisper channel ($username).
    +
    The command can be anything you could enter into a chat inputbox.
    +
    + +

    Examples:

    +
    +
    /runin #chan2 /echo abc
    +
    Outputs the info message "abc" in the channel "#chan2" (if it is + open in Chatty).
    + +
    //runin #chan2 //echo Channel context: \\$(chan) -> \$(chan)
    +
    This example is entered directly into a chat inputbox and outputs + an info message about the changed channel context in "#chan2". Let's say the + command is entered in the channel "#chan1".
    +
    The command begins with two slashes (//), so it is + interpreted as an anonymous Custom Command: +
      +
    • \\$(chan) turns into \#chan1 (the \\ escaped + the backslash itself, not the $, so the replacement is performed)
    • +
    • \$(chan) turns into $(chan) (this \ actually escapes the + $, so the replacement is not performed here)
    • +
    + The result /runin #chan2 //echo Channel context: \#chan1 -> $(chan) + is run, which runs //echo Channel context: \#chan1 -> $(chan) + in "#chan2".
    +
    Yet again, the command begins with two slashes (//) and + is interpreted as an anonymous Custom Command: +
      +
    • \#chan1 turns into #chan1 (the + backslash removes any special meaning from the following + characters, which in this case is not necessary, but it you + had entered this in a whisper channel $user1 + then the $ would have had to be escaped)
    • +
    • $(chan) turns into #chan2 (this + Custom Command is run in the new channel context, so it + turns into the target channel, which does not need to be + escaped further, even if it were $user2, since + it doesn't get interpreted as a Custom Command after this)
    • +
    + The resulting command /echo Channel context: #chan1 -> #chan2 + is then run and outputs an info message. +
    +
    +

    Twitch Login [back to menu] diff --git a/index.html b/index.html index 13bafc1..97c8101 100644 --- a/index.html +++ b/index.html @@ -16,9 +16,9 @@ function loaded() { { ceiling: null, text: "$years years ago" } ] } - document.getElementById("ago").innerHTML = "Version 0.17 released "+humanized_time_span("2022/01/31", Date(), custom_date_formats)+""; + document.getElementById("ago").innerHTML = "Version 0.18 released "+humanized_time_span("2022/04/09", Date(), custom_date_formats)+""; - getDownloads("v0.17"); + getDownloads("v0.18"); slideshow_init("slideshow"); } @@ -158,7 +158,7 @@ function getDownloads(tag) {

    Download

    -

    Choose one of the following downloads of Chatty Version 0.17. For older versions or betas go to the GitHub Releases. Checksums for release files are available as SHA-256 hashes.

    +

    Choose one of the following downloads of Chatty Version 0.18. For older versions or betas go to the GitHub Releases. Checksums for release files are available as SHA-256 hashes.

    If this is your first time using Chatty check out the Getting Started Guide.

    Windows

    @@ -170,11 +170,11 @@ function getDownloads(tag) {
    -
    Download Windows Standalone (Installer) Recommended
    +
    Download Windows Standalone (Installer) Recommended
    Install into a folder of your choice and start Chatty.exe (or optionally created shortcuts).
    -
    Download Windows Standalone (.zip)
    +
    Download Windows Standalone (.zip)
    Extract the .zip into a folder of your choice and start Chatty.exe.
    @@ -182,11 +182,11 @@ function getDownloads(tag) {
    -
    Download JAR-Version (Installer)
    +
    Download JAR-Version (Installer)
    Install into a folder of your choice and start Chatty.jar (or optionally created shortcuts).
    -
    Download JAR-Version (.zip)
    +
    Download JAR-Version (.zip)
    Extract the .zip into a folder of your choice and start Chatty.jar.

    Non-Windows

    -

    For OS other than Windows (e.g. Linux or MacOS) you will need to download the JAR-Version (.zip) and must have Java 8 or later installed on your system. Extract the .zip into a folder of your choice and start Chatty.jar.

    +

    For OS other than Windows (e.g. Linux or MacOS) you will need to download the JAR-Version (.zip) and must have Java 8 or later installed on your system. Extract the .zip into a folder of your choice and start Chatty.jar.

    Contact

    If you have any feedback or questions feel free to contact me. You can join the Chatty Discord preferred, write me an E-Mail or use Twitter.