mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2019
Posts: 1
E
enny Offline OP
Mostly harmless
OP Offline
Mostly harmless
E
Joined: Mar 2019
Posts: 1
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.

Joined: Jun 2019
Posts: 1
D
Mostly harmless
Offline
Mostly harmless
D
Joined: Jun 2019
Posts: 1
I have just come on here to find an answer for this as I thought this was my new router that was the problem.

I made no changes to MIRC but when I added my new Synology 2600AC router to my setup MIRC stopped showing the @ sign. Coincidence?

Joined: Sep 2015
Posts: 33
D
Ameglian cow
Offline
Ameglian cow
D
Joined: Sep 2015
Posts: 33
same

Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
This is twitch being weird.

use $msgtags

Code
on *:TEXT:!modcheck:#:{
  if (moderator isin $msgtags(badges).key) {
    msg $chan /me  you are a moderator.
  }
}


I am SReject
My Stuff

Link Copied to Clipboard