1
0
Fork 0

Compare commits

...

3 Commits

  1. 1
      Resources/copyPat_AnimatedSprite3D.gd.uid
  2. 1
      Resources/copyPat_BoneAttachment.gd.uid
  3. 9
      copyPat.gd
  4. 1
      copyPat.gd.uid
  5. 4
      copyPat.tscn

@ -5,13 +5,18 @@ extends Mod_Base
var triggers = {
"": ["\\bcopyPat\\b", "pats copygirl\\b"],
"Kuerb1": ["\\bkuerb1Pats\\b", "\\bkuerb1PatPat\\b", "pats [kK]uerb[1y]\\b"],
"Kuerb1": ["\\bkuerb1Pats\\b", "pats [kK]uerb[1y]\\b"],
}
func _ready() -> void:
add_tracked_setting("countdown", "Seconds active", { "min": 0.0, "max": 3600.0 })
func handle_channel_chat_message(_cheerer_username: String, _cheerer_display_name: String, message: String, _bits_count: int) -> void:
func handle_channel_chat_message(
_cheerer_username: String,
_cheerer_display_name: String,
message: String,
_bits_count: int,
) -> void:
for nickname in triggers:
for regex in triggers[nickname]:
if RegEx.create_from_string(regex).search(message):

@ -0,0 +1 @@
uid://cb25rm8xi8tqh

@ -1,8 +1,8 @@
[gd_scene load_steps=3 format=3 uid="uid://nxxal0nb67su"]
[ext_resource type="Script" path="res://Mods/copyPat/copyPat.gd" id="1_4ta2j"]
[ext_resource type="Script" uid="uid://cb25rm8xi8tqh" path="res://Mods/copyPat/copyPat.gd" id="1_4ta2j"]
[ext_resource type="PackedScene" uid="uid://cmprobebh47m7" path="res://Mods/copyPat/Resources/copyPat_BoneAttachment.tscn" id="2_r7vj1"]
[node name="copyPat" type="Node"]
[node name="copyPat" type="Node3D"]
script = ExtResource("1_4ta2j")
headpats_scene = ExtResource("2_r7vj1")

Loading…
Cancel
Save