VRChat にスパチャが過去1秒間に発生したかをOSCメッセージで毎秒送信するブックマークレット (VRChat OSC Bridge 専用ツール)
VRChat OSC Bridge が起動している状態で、 YouTube Live のコメント欄をポップアウトし、そのウィンドウに対して spc_to_osc.min.js
の javascript:
以降のコードを入力します。
実行すると、 所定のOSCメッセージが毎秒 /VRC_OSC/SPC
に送信されます。
- 過去一秒以内にスーパーチャットが発生した : 1
- 過去一秒以内にスーパーチャットが発生しなかった : 0
OSC Button In
は、内容に変化がない場合、 Trigger を発動させることはありません。