SaveBank
Active Member
- Reaction score
- 28
- Author
- SaveBank
- Contributors
- N/A
- Quickbar Entry
-
javascript: var ALARM_IN_SECONDS=30; var FILTER = ""; $.getScript('https://cdn.jsdelivr.net/gh/SaveBankDev/twIncReminder@main/twIncReminder.js');
This script is used in the Incoming Attacks screen and will display the remaining time to the next attack in the window title and will play an alarm a configurable time before the attack lands.

There are 2 user variables you can use:
- FILTER: This variable is empty by default. If you only want to be reminded of certain attacks, you can filter for words in their label by adding the word as the filter. For example if you only want to be reminded of attacks that contain the word "dodge" configure the variable to
- ALARM_IN_SECONDS: This variable is 30 seconds by default. It sets the seconds before the attack would land where an alarm would play. The alarm would be 3 times the chat sound (I can change the number of chat sounds if requested). If you set this variable to 0 or lower the alarm will be disabled.

There are 2 user variables you can use:
- FILTER: This variable is empty by default. If you only want to be reminded of certain attacks, you can filter for words in their label by adding the word as the filter. For example if you only want to be reminded of attacks that contain the word "dodge" configure the variable to
Code:
var FILTER = "dodge";
- ALARM_IN_SECONDS: This variable is 30 seconds by default. It sets the seconds before the attack would land where an alarm would play. The alarm would be 3 times the chat sound (I can change the number of chat sounds if requested). If you set this variable to 0 or lower the alarm will be disabled.
Upvote
0