Okay, so I’ve watching a bit more of HardlySober’s youtube video about TwitchBot whispers. And what you said @TrainerTimmy (and you clarified @Freddy) is becoming clear.
First of all it seems that I DON’T need to be connected to any particular server in general to receive whispers… I AM now connecting just ONE TCPClient to irc.chat.twitch.tv to be safe, but it worked on the standard connection.
Using the ourgoing format of the following allows me to send whispers:
:[username]![username]@[username].tmi.twitch.tv PRIVMSG #[Channelname]: /w [targetuser][whitespace][message]
This works! (Woo!)
And, just as TrainerTimmy said, this is the format of the incoming whisper (provided I’ve sent the command of “CAP REQ :twitch.tv/commands”):
:[sender]![sender]@[sender].tmi.twitch.tv WHISPER [recipient]:[message]
Now it’s all making sense! Also, this means that I don’t need ANOTHER thread to run the whisper listener - just main animator thread and primary listener thread are needed now!
Many thanks to all for your input - couldn’t have worked it out without you!
Perhaps I’ll write a little ‘fellow noob guide’ to help others…