The GlobalChatDelegate and GlobalToggleStatusNotification events
in twitch API there are to useful global events
GlobalToggleStatusNotification is an event that passes a bool value. It lets you know whenever tapi has been toggled on and off. It can, therefore be used to toggle twitch functionality on and off within your mod.
GlobalChatDelegate is an event that passes the following (string user, string message, string channel)
. This strings corrospond to every message sent in chat. With user being the sending user, message being the contents of the message, and channel being the channel.
can be used for whatever interaction you can think of, really. Make the enemies have the names of viewers of chatted. Make messages from chat appear in silly places. Make fireworks appear whenever someone types "\fireworks", etc.
Last updated
Was this helpful?