Yeah, basically that.
As a real world use case, think about bots with a GUI. As a user (= broadcaster), wouldn’t you want to click a button to timeout someone and have visual feedback when it actually worked (or didn’t)? Preferably not in the chat window that’s already moving quickly and you’re trying hard to keep up?
I know, broadcasters timing out people is not a strong example, but the more generic use-case has already been summed up pretty well by Alca, and there are probably tons of people out there who have better ideas to use this. I just want to make it possible using the library I’m writing.
To be fair: it’s not just a nonce. You also have to support IRCv3 batches for when the response is multiline (probably NAMES? I don’t actually know which commands on Twitch generate multiple reply lines), as stated in the spec. Doesn’t seem too hard though.