This update builds on the existing YouNow Treasure Chest Auto Opener and adds a fully user-configurable chest opening delay, new chat message variables, and version/setting cleanup while keeping the existing chest automation and timed chat features intact.
## 🆕 What's New
### ⏱️ User-Configurable Chest Open Delay
You can now choose exactly how long the Helper waits before opening a Treasure Chest after your target has been reached.
The setting is available directly in the Helper panel:
**Chest Open Delay (seconds)**
Examples:
* `0` seconds — Open immediately
* `10` seconds — Wait 10 seconds
* `30` seconds — Wait 30 seconds
* `60` seconds — Wait 1 minute
* `300` seconds — Wait 5 minutes
The setting is saved with your other Helper settings.
### 🔒 Likes Are Locked Before the Delay
When the chest reaches your configured target:
1. The Helper opens the Treasure Chest panel.
2. It checks the current likes.
3. Once the target is reached, the likes are **locked for that chest cycle**.
4. The Helper closes the Treasure Chest panel.
5. Your configured open delay begins.
6. The Helper waits with the chest panel closed.
7. When the countdown reaches zero, the chest panel is reopened.
8. The Helper opens the chest using the **already-locked likes value**.
This means likes changing during the delay cannot interfere with the chest-opening decision.
### 📊 Open Delay Countdown
The Helper panel now shows the remaining chest open delay.
For example:
**Open Delay: 27s**
The countdown continues until the delay expires, after which the Helper reopens the chest panel and continues the opening sequence.
### 💬 New Chat Delay Variables
The configurable chat messages can now use the chest open delay information.
Available variables include:
`{delay}`
Displays the configured delay in a readable format.
Example:
`30s`
or:
`1:30`
---
`{delay_seconds}`
Displays the configured delay as seconds.
Example:
`90`
---
`{open_delay}`
Alias for `{delay}`.
---
`{open_delay_seconds}`
Alias for `{delay_seconds}`.
---
`{delay_remaining}`
Displays the current remaining delay while the Helper is waiting.
Example:
`24s`
---
`{delay_remaining_seconds}`
Displays the current remaining delay as seconds.
Example:
`24`
### 💬 Example Chat Message
You can now create messages such as:
`Chest reached {likes} likes! Waiting {delay} before opening! 🎁`
Or:
`The chest reached {likes} likes! Opening in {delay_remaining}! ❤️`
You can also combine the new variables with the existing variables:
`Chest reached {likes}/{threshold} likes! Cycle #{cycle} — opening in {delay_remaining}! 🎁`
### 📋 Available Chat Variables
The existing variables are still supported:
* `{likes}` — Locked/current likes
* `{threshold}` — Your configured target
* `{cycle}` — Current chest cycle
New in V9.22:
* `{delay}`
* `{delay_seconds}`
* `{open_delay}`
* `{open_delay_seconds}`
* `{delay_remaining}`
* `{delay_remaining_seconds}`
These variables are available in both the regular chest chat message and the independent timed chat message.
---
## 💬 Independent Timed Chat Posting
The timed chat system introduced in V9.21 remains included in V9.22.
You can configure:
* Custom posting interval
* Custom timed chat message
* Enable/disable timed posting independently
* `{likes}` variable
* `{threshold}` variable
* `{cycle}` variable
* Chest delay variables
The timed chat system operates independently from the Treasure Chest automation.
For example:
`Thanks for watching! We're currently at {likes} likes! ❤️`
Or:
`Thanks for watching! 🎁 Next chest opening delay: {delay}!`
---
## 🛠️ Version Number & Settings Improvements
V9.22 also corrects the script's displayed version information.
The userscript metadata, Helper footer, and console version message now correctly identify the release as:
**V9.22**
Existing settings from previous versions are also preserved through the built-in settings migration, so upgrading does not require starting your configuration from scratch.
---
## 🔧 Existing Features Still Included
V9.22 keeps the existing Helper functionality, including:
* 🎁 Automatic Treasure Chest detection
* ❤️ Configurable likes threshold
* 🔄 Automatic rechecking
* ⏱️ Chest recheck timer
* 🔒 Locked likes per chest cycle
* ⏱️ User-configurable chest open delay
* 💬 Optional chest chat announcement
* 📝 Editable chat messages
* 💬 Independent timed chat posting
* 🏆 Winners panel handling
* 🌧️ Make It Rain handling
* 📣 "I'll tell them" handling
* 🔄 Chest-cycle recovery
* 🖥️ Draggable Helper panel
* ➖ Minimize Helper
* ⛶ Maximize Helper
* 💾 Saved settings
* 🛡️ Resilient handling of YouNow UI changes
---
## 📌 Upgrading to V9.22
If you are upgrading from an earlier version:
1. Open Tampermonkey.
2. Open your **YouNow Treasure Chest Auto Opener** script.
3. Replace the old script with **V9.22**.
4. Save the script.
5. Reload YouNow.
6. Open the Helper panel.
7. Configure your **Chest Open Delay (seconds)**.
8. Update your chat messages if you want to use the new delay variables.
9. Save your settings.
10. Start the automation.
Your existing settings are migrated when the new version is loaded.
---
## 🎁 Recommended Setup
A good example configuration would be:
**Target Likes:** `500`
**Chest Open Delay:** `30` seconds
**Recheck:** `30` seconds
The Helper will:
**Detect Chest → Open Panel → Check Likes → Lock Likes → Close Panel → Wait 30 Seconds → Reopen Panel → Open Chest**
During the delay, the locked likes value remains unchanged.
---
## ❤️ Thank You
Thank you for using and testing the **YouNow Treasure Chest Auto Opener**.
**YouNow Treasure Chest Auto Opener — V9.22**
*More control. Better timing. More flexible chat messages. Same resilient chest automation.*
## 🆕 What's New
### ⏱️ User-Configurable Chest Open Delay
You can now choose exactly how long the Helper waits before opening a Treasure Chest after your target has been reached.
The setting is available directly in the Helper panel:
**Chest Open Delay (seconds)**
Examples:
* `0` seconds — Open immediately
* `10` seconds — Wait 10 seconds
* `30` seconds — Wait 30 seconds
* `60` seconds — Wait 1 minute
* `300` seconds — Wait 5 minutes
The setting is saved with your other Helper settings.
### 🔒 Likes Are Locked Before the Delay
When the chest reaches your configured target:
1. The Helper opens the Treasure Chest panel.
2. It checks the current likes.
3. Once the target is reached, the likes are **locked for that chest cycle**.
4. The Helper closes the Treasure Chest panel.
5. Your configured open delay begins.
6. The Helper waits with the chest panel closed.
7. When the countdown reaches zero, the chest panel is reopened.
8. The Helper opens the chest using the **already-locked likes value**.
This means likes changing during the delay cannot interfere with the chest-opening decision.
### 📊 Open Delay Countdown
The Helper panel now shows the remaining chest open delay.
For example:
**Open Delay: 27s**
The countdown continues until the delay expires, after which the Helper reopens the chest panel and continues the opening sequence.
### 💬 New Chat Delay Variables
The configurable chat messages can now use the chest open delay information.
Available variables include:
`{delay}`
Displays the configured delay in a readable format.
Example:
`30s`
or:
`1:30`
---
`{delay_seconds}`
Displays the configured delay as seconds.
Example:
`90`
---
`{open_delay}`
Alias for `{delay}`.
---
`{open_delay_seconds}`
Alias for `{delay_seconds}`.
---
`{delay_remaining}`
Displays the current remaining delay while the Helper is waiting.
Example:
`24s`
---
`{delay_remaining_seconds}`
Displays the current remaining delay as seconds.
Example:
`24`
### 💬 Example Chat Message
You can now create messages such as:
`Chest reached {likes} likes! Waiting {delay} before opening! 🎁`
Or:
`The chest reached {likes} likes! Opening in {delay_remaining}! ❤️`
You can also combine the new variables with the existing variables:
`Chest reached {likes}/{threshold} likes! Cycle #{cycle} — opening in {delay_remaining}! 🎁`
### 📋 Available Chat Variables
The existing variables are still supported:
* `{likes}` — Locked/current likes
* `{threshold}` — Your configured target
* `{cycle}` — Current chest cycle
New in V9.22:
* `{delay}`
* `{delay_seconds}`
* `{open_delay}`
* `{open_delay_seconds}`
* `{delay_remaining}`
* `{delay_remaining_seconds}`
These variables are available in both the regular chest chat message and the independent timed chat message.
---
## 💬 Independent Timed Chat Posting
The timed chat system introduced in V9.21 remains included in V9.22.
You can configure:
* Custom posting interval
* Custom timed chat message
* Enable/disable timed posting independently
* `{likes}` variable
* `{threshold}` variable
* `{cycle}` variable
* Chest delay variables
The timed chat system operates independently from the Treasure Chest automation.
For example:
`Thanks for watching! We're currently at {likes} likes! ❤️`
Or:
`Thanks for watching! 🎁 Next chest opening delay: {delay}!`
---
## 🛠️ Version Number & Settings Improvements
V9.22 also corrects the script's displayed version information.
The userscript metadata, Helper footer, and console version message now correctly identify the release as:
**V9.22**
Existing settings from previous versions are also preserved through the built-in settings migration, so upgrading does not require starting your configuration from scratch.
---
## 🔧 Existing Features Still Included
V9.22 keeps the existing Helper functionality, including:
* 🎁 Automatic Treasure Chest detection
* ❤️ Configurable likes threshold
* 🔄 Automatic rechecking
* ⏱️ Chest recheck timer
* 🔒 Locked likes per chest cycle
* ⏱️ User-configurable chest open delay
* 💬 Optional chest chat announcement
* 📝 Editable chat messages
* 💬 Independent timed chat posting
* 🏆 Winners panel handling
* 🌧️ Make It Rain handling
* 📣 "I'll tell them" handling
* 🔄 Chest-cycle recovery
* 🖥️ Draggable Helper panel
* ➖ Minimize Helper
* ⛶ Maximize Helper
* 💾 Saved settings
* 🛡️ Resilient handling of YouNow UI changes
---
## 📌 Upgrading to V9.22
If you are upgrading from an earlier version:
1. Open Tampermonkey.
2. Open your **YouNow Treasure Chest Auto Opener** script.
3. Replace the old script with **V9.22**.
4. Save the script.
5. Reload YouNow.
6. Open the Helper panel.
7. Configure your **Chest Open Delay (seconds)**.
8. Update your chat messages if you want to use the new delay variables.
9. Save your settings.
10. Start the automation.
Your existing settings are migrated when the new version is loaded.
---
## 🎁 Recommended Setup
A good example configuration would be:
**Target Likes:** `500`
**Chest Open Delay:** `30` seconds
**Recheck:** `30` seconds
The Helper will:
**Detect Chest → Open Panel → Check Likes → Lock Likes → Close Panel → Wait 30 Seconds → Reopen Panel → Open Chest**
During the delay, the locked likes value remains unchanged.
---
## ❤️ Thank You
Thank you for using and testing the **YouNow Treasure Chest Auto Opener**.
**YouNow Treasure Chest Auto Opener — V9.22**
*More control. Better timing. More flexible chat messages. Same resilient chest automation.*