Greasy Fork is available in English.

Bonk.io Auto Colour Switching

Automatically rotate through bonk icon colours/teams

作者
FigurativeLag
今日安裝
1
安裝總數
1,004
評價
1 0 1
版本
1.9.8
建立日期
2022-11-22
更新日期
2023-03-25
授權條款
Apache 2.0
腳本執行於

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.