Hello,

Trying to run a simple code:

Code:
on *:TEXT:!modcheck:#: {
if ($nick isop $chan) {
    msg $chan /me  you are a moderator.
  }
}


but it does not work. Problem comes from mIRC not recognizing moderator privileges from Twitch chat (nicks do not show "@" before their names). I have included the following requests at beginning of code:

Code:
on 1:connect: { 
  if (twitch isin $server) { 
    /raw CAP REQ :twitch.tv/membership
    /raw CAP REQ :twitch.tv/commands
    /raw CAP REQ :twitch.tv/tags twitch.tv/commands
  }
}


Log shows twitch is responding correctly, right? Not sure why mIRC isn't recognizing users.

Code:
15[18:26] * Connecting to irc.twitch.tv (6667)
[18:26] Caps supported: twitch.tv/commands twitch.tv/membership twitch.tv/tags
[18:26] Welcome, GLHF!
[18:26] Your host is tmi.twitch.tv
[18:26] This server is rather new
[18:26] You are in a maze of twisty passages, all alike.
[18:26] >
[18:26] CAP LIST
15[18:26] -> Server: CAP REQ :twitch.tv/membership
15[18:26] -> Server: CAP REQ :twitch.tv/commands
15[18:26] -> Server: CAP REQ :twitch.tv/tags twitch.tv/commands
[18:26] USERHOST Unknown command
[18:26] CAP ACK twitch.tv/membership
[18:26] CAP ACK twitch.tv/commands
[18:26] CAP ACK twitch.tv/tags twitch.tv/commands
[18:26] tmi.twitch.tv USERSTATE #ennymura
[18:26] tmi.twitch.tv ROOMSTATE #ennymura


All help appreciated in advance. Thanks.