mIRC Home    About    Download    Register    News    Help

Print Thread
(twitch bot) CANNEL ID OR ROOMID #258912 12/09/16 04:11 PM
Joined: Sep 2016
Posts: 12
L
Liquid Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2016
Posts: 12
need to get roomids for my sub hype bot. need roomids for resubs. HOW DO I GET ROOMIDS?!

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Liquid] #258913 12/09/16 09:19 PM
Joined: Apr 2016
Posts: 86
B
Bestpeff Offline
Babel fish
Offline
Babel fish
B
Joined: Apr 2016
Posts: 86
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?

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Bestpeff] #258915 13/09/16 12:38 AM
Joined: Sep 2016
Posts: 12
L
Liquid Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2016
Posts: 12
how owuld i use it?

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Liquid] #258919 13/09/16 11:09 AM
Joined: Sep 2015
Posts: 31
D
Deerayn Offline
Ameglian cow
Offline
Ameglian cow
D
Joined: Sep 2015
Posts: 31
Code:
on *:TEXT:*:#: {
  if ($nick == YOURNICKNAME) {
  msg # Room ID: $msgtags(room-id).key
  }
}


Just type in chat something and you will get a key

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Deerayn] #258923 13/09/16 08:17 PM
Joined: Sep 2016
Posts: 12
L
Liquid Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2016
Posts: 12
its not giving the ID.. its "ROOM ID: " and then nothing.

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Liquid] #258925 14/09/16 11:39 AM
Joined: Apr 2016
Posts: 86
B
Bestpeff Offline
Babel fish
Offline
Babel fish
B
Joined: Apr 2016
Posts: 86
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

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Bestpeff] #258926 14/09/16 02:43 PM
Joined: Sep 2016
Posts: 12
L
Liquid Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2016
Posts: 12
when i do it its not giving me the key.. just ROOMID:
no numbers or anything

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Liquid] #258927 14/09/16 02:45 PM
Joined: Sep 2016
Posts: 12
L
Liquid Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2016
Posts: 12

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Liquid] #258943 18/09/16 06:11 AM
Joined: Sep 2016
Posts: 12
L
Liquid Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2016
Posts: 12
help!

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Liquid] #258946 18/09/16 02:43 PM
Joined: Jun 2015
Posts: 84
F
Fonic_Artes Offline
Babel fish
Offline
Babel fish
F
Joined: Jun 2015
Posts: 84
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.

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Fonic_Artes] #258952 19/09/16 02:39 PM
Joined: Sep 2016
Posts: 12
L
Liquid Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2016
Posts: 12
like this? https://gyazo.com/2853fe00b805ac711661d93fdaed8be3

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

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Fonic_Artes] #258953 19/09/16 06:47 PM
Joined: Sep 2016
Posts: 12
L
Liquid Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2016
Posts: 12
please send me a screenshot of how

Re: (twitch bot) CANNEL ID OR ROOMID [Re: Liquid] #258967 20/09/16 04:05 AM
Joined: Jun 2015
Posts: 84
F
Fonic_Artes Offline
Babel fish
Offline
Babel fish
F
Joined: Jun 2015
Posts: 84
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
Re: (twitch bot) CANNEL ID OR ROOMID [Re: Fonic_Artes] #259004 24/09/16 03:19 PM
Joined: Sep 2016
Posts: 12
L
Liquid Offline OP
Pikka bird
OP Offline
Pikka bird
L
Joined: Sep 2016
Posts: 12
ok got it, i more question. will this script work for subs and resubs?

https://gyazo.com/53d98929b78168cd8273aa50c0dd0315