From b18562ffa195d12a8aa33b21e6c481133f9bcd0c Mon Sep 17 00:00:00 2001
From: tduva Hello World!
to chat, just as if you would have written it
yourself and pressed Enter.
See Replacements for more advanced usage.
+ +Adding a #
and a channel name you can restrict the command
to that channel:
Open Channels: joshimuz lotsofs cirno_tv
Executing several commands in a row is not a feature of Custom Commands, + although the /chain command can + be used to achieve something like that.
+The short notation ( $1
) only works for the numbers 1 to 9,
which usually should be enough. For other kinds of replacements you must
- use the regular notation including parentheses: $(1)
.
$(10)
.
Custom Commands can be used in a number of different places. Depending on
@@ -339,8 +349,76 @@
with 1-
referring to apple pie
turns into
either cheesecake
, strawberry cake
or
apple pie
.
+
+
$randnum(<from>,<to>)
or $randnum(<to>)
$randnum(600,800)
chooses a random
+ number between 600 and 800.$randum($$1)
chooses a random number
+ between 0 and what is the first parameter.$datetime([format],[timezone],[locale])
date
, time
, datetime
date2
, time2
, datetime2
_short
, _medium
,
+ _long
or _full
, e.g. datetime_full
$datetime()
Wednesday, March 13, 2019 3:11:48 PM CET
$datetime(,,de)
Mittwoch, 13. März 2019 15:12 Uhr MEZ
$datetime(time)
23:31:27
time
".)$datetime(datetime2,Vancouver)
2019-03-12 15:31:45 PDT GMT-0700
datetime2
" pre-defined format, with a timezone specified.)$datetime(datetime_full,Rome,it)
mercoledì 13 marzo 2019 15.32.03 CET
$datetime(,london)
Wednesday, March 13, 2019 2:16:36 PM GMT
$datetime(HH:mm:ss zzzz,Tokyo,en)
07:50:20 Japan Standard Time
$datetime(eeee\, dd. MMMM yyyy,,de)
Dienstag, 12. März 2019
,
escaped since it normally
+ separates function parameters, empty timezone in order to be
+ able to specify locale.)Tip: Enter e.g. //echo $datetime()
+ into the chat inputbox to test a function directly, use arrow up/down
+ keys to cycle through previous inputs. Of course you won't be able to
+ use some context dependant parameters this way.
Note: The <identifier>
parameter means only
the identifier, without any $
, while the other parameters
may contain replacements (including functions). You can think of this
diff --git a/help/help-releases.html b/help/help-releases.html
index 7b4d7e4..bf39cd3 100644
--- a/help/help-releases.html
+++ b/help/help-releases.html
@@ -17,6 +17,7 @@
+ 0.9.6 | 0.9.5 | 0.9.4 | 0.9.3 | @@ -55,7 +56,55 @@ full list of changes.
The new clickable mentions feature allows you to open the User Dialog by + clicking not only on the usernames in front of the messages, but also on + names that are mentioned within the messages themselves (as long as the + mentioned user has recently chatted). In addition, hovering your mouse + over a mention marks the username in chat temporarily.
+ ++### Chat +- Added clickable mentions for users who have recently chatted (configurable in + "Names" settings with different styling options) +- Hovering mention in chat with the mouse now temporarily marks that user + (configurable in "Names" settings with different options on what triggers it) +- Mark Highlight/Ignore matches in more places, such as links or mentions + (toggle in "Highlight" settings) +- Improved support for some new Twitch Chat messages +- Switched GIF decoder (which should fix some previously broken Animated GIFs) + +### Custom Commands / Customization +- Added Custom Command functions `$datetime()` and `$randnum()` +- Added "vip" to `$mod` Custom Usericon position +- Added general "Info Message" Notification type +- Added hotkey actions for 120s and 180s commericals +- Added hotkey action to toggle Channel Favorites dialog + +### Other +- Changed image cache structure to improve startup time +- Made some timing methods independent of system clock +- Added default fallback font (Unifont) to Windows Standalone +- Added commands for fallback font directory +- Increased/added character limit for some input fields +- Livestreamer Dialog: Don't reset size/position as often +- Updated localization strings +- Updated help + +### Bugfixes +- Fixed bug that would cause the wrong element to be clicked sometimes +- Fixed error when trying to insert Emote from Emote Dialog into full inputbox +- Fixed loading of English (UK) strings +- Fixed User Dialog opening position being wrong with some taskbar locations +- Fixed custom emotes not showing in Emote Dialog favorites tab +- Fixed marked word (rectangle) style on some backgrounds +- Fixed some Emoji having an unrendered character behind them ++ +
Twitch released the Stream Tags API for third-party developers, so Chatty diff --git a/help/help-settings.html b/help/help-settings.html index 3a29893..66fceb3 100644 --- a/help/help-settings.html +++ b/help/help-settings.html @@ -1354,6 +1354,18 @@
This settings page allows you to do the following, which is explained in + more detail on another page:
-/fallback
directory yourself):
<JRE_DIR>/lib/fonts/fallback
- To find the <JRE_DIR>
location you can either enter
- the command /openJavaDir
to open the directory in your file
- browser or enter the command /showJavaDir
to output the
- path. The commands have to be entered in the Chatty chat inputbox.
To find it you can use the command /showFallbackFontDir
to
+ output the full path or the command /openFallbackFontDir
to
+ directly open the path in your file browser. The commands have to be
+ entered into the Chatty chat inputbox.
The Windows Standalone already contains the Unifont + fonts as fallback fonts by default.
Note: If you set the inputFont
setting to something other
diff --git a/help/help.html b/help/help.html
index a7a7346..31a7e6c 100644
--- a/help/help.html
+++ b/help/help.html
@@ -5,7 +5,7 @@
@@ -245,6 +245,7 @@
/showBackupDir / /openBackupDir - Show/open the backup directory/showDebugDir / /openDebugDir - Show/open the debug log directory/showJavaDir / /openJavaDir - Show/open the directory of the JRE used by Chatty/showFallbackFontDir / /openFallbackFontDir - Show/open the directory where Java looks for fallback fonts/showTempDir / /openTempDir - Show/open the system's temp directory/refresh <emoticons/badges/ffz/ffzglobal/bttvemotes/emotesets>
- Refresh the given data from it's respective API:
diff --git a/help/style.css b/help/style.css
index ce8ecce..ad1d749 100644
--- a/help/style.css
+++ b/help/style.css
@@ -146,6 +146,9 @@ table.files {
.defList dt {
margin-top: 5px;
}
+.defList dd {
+ margin-top: 3px;
+}
.dl-settings {
margin-left: 20px;
diff --git a/index.html b/index.html
index 4738f11..64f2e6a 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.9.5 released "+humanized_time_span("2019/02/14", Date(), custom_date_formats)+"";
+ document.getElementById("ago").innerHTML = "Version 0.9.6 released "+humanized_time_span("2019/03/27", Date(), custom_date_formats)+"";
- getDownloads("v0.9.5");
+ getDownloads("v0.9.6");
slideshow_init("slideshow");
}
@@ -157,7 +157,7 @@ function getDownloads(tag) {
Download-Choose one of the following downloads of Chatty Version 0.9.5. For older versions or betas go to GitHub. +Choose one of the following downloads of Chatty Version 0.9.6. For older versions or betas go to GitHub. If this is your first time using Chatty check out the Getting Started Guide. Windows@@ -169,11 +169,11 @@ function getDownloads(tag) {
|
|
@@ -195,7 +195,7 @@ function getDownloads(tag) {
|
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
.
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.