Auto chat messages with top-nav toggle, countdown, tooltip, and stream awareness
Twitch Auto Lurk (Toggle + Countdown)
Automatically sends periodic chat messages while you lurk on Twitch, helping ensure you remain counted as an active viewer.
Why this script exists
Recent community testing suggests that Twitch may stop counting viewers who remain inactive for long periods. Even if you keep the stream open, you might quietly drop off the viewer count if you never interact.
This script sends a small, harmless chat message every so often so Twitch continues to register you as an active viewer while you lurk and support your favorite streamers.
Features
Automatic chat messages at random intervals (default 15–25 minutes)
Toggle switch added to the top Twitch navigation bar
Live countdown timer showing time until the next message
Color‑coded timer (green → yellow → red)
Tooltip on hover
Only runs when the stream is live
Automatically pauses when the stream goes offline
Saves your on/off state using localStorage
Lightweight and does not interfere with Twitch UI
How it works
When enabled, the script:
Detects whether the stream is live
Schedules a random delay
Shows a live countdown
Sends a random message from your message list
Repeats automatically
If the stream goes offline or you disable the toggle, all timers stop immediately.
Configuration
Inside the script, you can edit:
Code
const MIN_DELAY_MINUTES = 15;
const MAX_DELAY_MINUTES = 25;
const MESSAGES = [
"Hey there!",
"Just Lurking Over here, don't mind me",
"Do you know the muffin man?",
"Quackers"
];
Change the delay or customize the messages however you like.
Source Code
Full source code is available here: https://github.com/LiventNick/Auto-Lurk-Message/