Simulating Chat Messages
You do not need to start a real Chzzk broadcast to verify that your datapack functions and macros work properly. Once your datapack is in the datapacks/ folder and loaded with /reload, you can send simulated events straight into NBT storage.
To test a viewer chat trigger, run the following command in game:
/chklink testchat <message>
For example, you can pass a formatted viewer command like !spawn, zombie, 3 as the <message>. The mod will split the command and arguments into NBT storage and execute every function in your #chklink:chat tag just as if a real viewer typed it.
Simulating Donations
/chklink testdonation <amount> <message>