mIRC Home    About    Download    Register    News    Help

Print Thread
L
Liquid
Liquid
L
need to get roomids for my sub hype bot. need roomids for resubs. HOW DO I GET ROOMIDS?!

B
Bestpeff
Bestpeff
B
Hello,

I still use the Room ID method that @keyeslol has made back awhile ago

Code:
on *:TEXT:*:#: {
  if ($nick == $me) {
  msg # Room ID: $msgtags(room-id).key
  }
}


Does this help at all?

L
Liquid
Liquid
L
how owuld i use it?

Joined: Sep 2015
Posts: 33
D
Ameglian cow
Offline
Ameglian cow
D
Joined: Sep 2015
Posts: 33
Code:
on *:TEXT:*:#: {
  if ($nick == YOURNICKNAME) {
  msg # Room ID: $msgtags(room-id).key
  }
}


Just type in chat something and you will get a key

L
Liquid
Liquid
L
its not giving the ID.. its "ROOM ID: " and then nothing.

B
Bestpeff
Bestpeff
B
Originally Posted By: Liquid
how owuld i use it?


Copy and paste the original post I made. Whenever you speak, it'll output the Room ID

L
Liquid
Liquid
L
when i do it its not giving me the key.. just ROOMID:
no numbers or anything

L
Liquid
Liquid
L

L
Liquid
Liquid
L
help!

F
Fonic_Artes
Fonic_Artes
F
Just to make sure you're doing this.

/raw CAP REQ :twitch.tv/tags

Then try the previous persons code.

As an extra note, if you talk from the bot itself in IRC it won't respond.

L
Liquid
Liquid
L
like this? https://gyazo.com/2853fe00b805ac711661d93fdaed8be3

/raw CAP REQ :twitch.tv/tags on *:TEXT:*:#: {
if ($nick == YOURNICKNAME) {
msg # Room ID: $msgtags(room-id).key
}
}

L
Liquid
Liquid
L
please send me a screenshot of how

F
Fonic_Artes
Fonic_Artes
F
I'm disappointed.

First, go to Tools > Options
Inside there, select Connect > Options > Perform
Add these 3 things there.
Code:
/raw CAP REQ :twitch.tv/membership
/raw CAP REQ :twitch.tv/commands
/raw CAP REQ :twitch.tv/tags



In a remote file, add the following code.
Code:
on *:TEXT:*:#: {
  if ($nick == $me) {
  msg # Room ID: $msgtags(room-id).key
  }
}


Say something in chat, but you cannot say it from the mIRC program of the bot itself, else it won't trigger.

It's better to have the account logged in on Twitch and just go to your channel and say it there.

The bot will then respond with the Channel ID/Room ID.

That's all you have to do, it's not that hard.

Last edited by Fonic_Artes; 20/09/16 04:06 AM. Reason: Added Image to Show Where to Add CAP REQS
L
Liquid
Liquid
L
ok got it, i more question. will this script work for subs and resubs?

https://gyazo.com/53d98929b78168cd8273aa50c0dd0315


Link Copied to Clipboard