lexonegit / Unity-Twitch-Chat

Lightweight and easy-to-use Twitch IRC client for Unity (C#)
Other
122 stars 24 forks source link

Example of sending text to chat #7

Closed bionictoothpick closed 2 years ago

bionictoothpick commented 2 years ago

Please provide an example in ExampleIRCListener that responds to a message or command from chat with a message back to chat.

if (chatter.message == "!join") Debug.Log(chatter.tags.displayName + " said !join");

if (chatter.message == "!join") // I want to send to the twitch channel chat: Thanks for joining!

bionictoothpick commented 2 years ago

if (chatter.message == "!join"); IRC.SendChatMessage("Thanks for joining!");

bionictoothpick commented 2 years ago

Resolved