Bonk.io Auto Colour Switching

Automatically rotate through bonk icon colours/teams

Autor
FigurativeLag
Dnevne instalacije
1
Ukupno instalacija
1.080
Ocene
1 0 1
Verzija
1.9.8
Napravljeno
22/11/2022
Ažurirano
25/03/2023
Licenca
Apache 2.0
Važi za

Bonk.io Auto Colour Switching

This script will automatically, randomly rotate through bonk.io team colours. It will only run in custom games; you can't change your colour in quick play, as far as I know. Look below the main game screen (where the bonk description notes are supposed to be) to see the UI. Naturally, if a different extension is already using that, they will conflict.

Some of the credit also goes to LegendBoss. I looked at his Bonk Commands script as a reference for...

  1. How to capture and send data to the WebSocket
  2. How to detect if you are in a custom game

Changelog

  • 1.9.5: Only fire the team switch command if you are in a custom game (avoid getting disabled_in_quick messages)
  • 1.9: Added quick disable/enable buttons
  • 1.8: Fixed critical bug preventing websocket sending if you visit a quick play room before a custom game
  • 1.7: Fixed critical bug preventing websocket sending if Bonk Commands isn't installed
  • 1.5: Added interval editor textbox
  • 1.4: Switch to websocket as backend rather than HTML buttons
  • 1.3: Switch to checkboxes as UI
  • 1.0: Initial release

Changes not listed are too minor to be worth describing.