mIRC Homepage

(twitch bot) CANNEL ID OR ROOMID

Posted By: Liquid

(twitch bot) CANNEL ID OR ROOMID - 12/09/16 04:11 PM

need to get roomids for my sub hype bot. need roomids for resubs. HOW DO I GET ROOMIDS?!
Posted By: Bestpeff

Re: (twitch bot) CANNEL ID OR ROOMID - 12/09/16 09:19 PM

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?
Posted By: Liquid

Re: (twitch bot) CANNEL ID OR ROOMID - 13/09/16 12:38 AM

how owuld i use it?
Posted By: Deerayn

Re: (twitch bot) CANNEL ID OR ROOMID - 13/09/16 11:09 AM

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


Just type in chat something and you will get a key
Posted By: Liquid

Re: (twitch bot) CANNEL ID OR ROOMID - 13/09/16 08:17 PM

its not giving the ID.. its "ROOM ID: " and then nothing.
Posted By: Bestpeff

Re: (twitch bot) CANNEL ID OR ROOMID - 14/09/16 11:39 AM

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
Posted By: Liquid

Re: (twitch bot) CANNEL ID OR ROOMID - 14/09/16 02:43 PM

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

Re: (twitch bot) CANNEL ID OR ROOMID - 14/09/16 02:45 PM

https://gyazo.com/ad68e111e244d195291e93e066f985c8
Posted By: Liquid

Re: (twitch bot) CANNEL ID OR ROOMID - 18/09/16 06:11 AM

help!
Posted By: Fonic_Artes

Re: (twitch bot) CANNEL ID OR ROOMID - 18/09/16 02:43 PM

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.
Posted By: Liquid

Re: (twitch bot) CANNEL ID OR ROOMID - 19/09/16 02:39 PM

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

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

Re: (twitch bot) CANNEL ID OR ROOMID - 19/09/16 06:47 PM

please send me a screenshot of how
Posted By: Fonic_Artes

Re: (twitch bot) CANNEL ID OR ROOMID - 20/09/16 04:05 AM

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.
Posted By: Liquid

Re: (twitch bot) CANNEL ID OR ROOMID - 24/09/16 03:19 PM

ok got it, i more question. will this script work for subs and resubs?

https://gyazo.com/53d98929b78168cd8273aa50c0dd0315
© 2020 mIRC Discussion Forums