Olay - chat
Display messages from one or more Twitch chats.
Base URL: https://etrusci.org/tool/olay/?mod=chat
Default configuration: chat.conf.js
Default style: chat.default.css
- mod=chat
- mod=chat&channels=|yourchannel|anotherchannel
- mod=chat&ignore=|badgirl|badgirl
- mod=chat&limit=5
- mod=chat&removeafter=10000
- mod=chat&addto=top
- mod=chat×tampformat={hour}:{minute}
- mod=chat&usercolor=false
- mod=chat&emotes=false
- mod=chat&emotetheme=dark
- mod=chat&emotesize=medium
- mod=chat&badgebroadcaster=Broadcaster
- mod=chat&badgemoderator=Moderator
- mod=chat&badgevip=VIP
- mod=chat&badgesubscriber=Subscriber
- mod=chat&badgesubgifter=Gifter
- mod=chat&badgebits=Bits
- mod=chat&autoscroll=false
- mod=chat&repnum=true&repmap=1
List of channels to join.
Valid: channel names
Start each item with |
.
List of user names (not display names) to ignore.
Valid: user names
Start each item with |
.
Limit the amount of displayed messages.
Valid: Integers >= 1
Time in milliseconds after old messages get removed.
Valid:
Integers >= 1
: Remove old messages after this amount of timenever
: Never remove old messages and only respect limit
Where to add new messages.
Valid:
bottom
: Add to bottomtop
: Add to top
Human-readable format template.
Valid: Placeholders, text, HTML
Placeholders:
{year}
: Year{month}
: Month{day}
: Day{hour}
: Hour{minute}
: Minute{second}
: Second{millisecond}
: Millisecond{timezoneOffset}
: Timezone offset (relative from UTC)
Whether to use the name color chosen by user.
Valid:
true
: Use user colorfalse
: Use color from Custom CSS field in Browser-Source
Whether to parse emotes.
Valid:
true
: Parse and display emotes as imagesfalse
: Display only emote code text
Color theme for emotes images background.
Valid:
light
: Light themedark
: Dark theme
Size of the emotes images.
Valid:
large
: 112 x 112 pixelmedium
: 56 x 56 pixelsmall
: 28 x 28 pixel
A badge/symbol to put before the user name depending on his "status".
Valid:
text, HTML
: Use this as badgenone
: Hide this badge
Available badge parameters:
badgebroadcaster
: Symbol for broadcasterbadgemoderator
: Symbol for moderatorbadgevip
: Symbol for VIPbadgesubscriber
: Symbol for subscriberbadgesubgifter
: Symbol for sub-gifterbadgebits
: Symbol for bits-giver
The broadcaster will always have only one badge.
Whether to auto-scroll to the latest message.
Valid:
true
: Auto-scrollfalse
: Do not auto-scroll
Whether to replace timestamp numbers with characters.
Valid:
true
: Replace timestamp numbers with charactersfalse
: Do not replace timestamp numbers with characters
The character map for repnum.
Requires: repnum = true
Valid:
1
: ABCDEFGHIJ2
: ZYXWVUTSRQ3
: 98765432104
: ●□◆■○▶◁▲◇▼5
: ٠١٢٣٤٥٦٧٨٩
Channel join interval in milliseconds.
Valid: Integers >= 2000
<div class="mod chat">
<div class="chatline {channel_name} id-{message_id} [first]">
<span class="timestamp">{timestamp}</span>
<span class="channel">{#channel_name}</span>
<span class="badges">{badges}</span>
<span class="user" [style="color:{user_color};"]>{user_name}</span>
<span class="message">{message}</span>
</div>
<!-- ... more .chatline elements ... -->
</div>
.mod {} /* or */ .mod.chat {} /* Module output container */
.chatline {} /* Single chatline */
.chatline.channel_name {} /* Specific channel chatline */
.chatline.first {} /* User's first message */
.chatline > .timestamp {} /* Timestamp in chatline */
.chatline > .channel {} /* Channel name in chatline */
.chatline > .badges {} /* Badges in chatline */
.chatline > .badges > .broadcaster {} /* Broadcaster badge */
.chatline > .badges > .moderator {} /* Moderator badge */
.chatline > .badges > .vip {} /* VIP badge */
.chatline > .badges > .subscriber {} /* Subscriber badge */
.chatline > .badges > .subgifter {} /* Subgifter badge */
.chatline > .badges > .bits {} /* Bits badge */
.chatline > .user {} /* User name in chatline */
.chatline > .message {} /* Message in chatline */
.chatline > .message > .emote {} /* Emote image tags in message */