mIRC Home    About    Download    Register    News    Help

Print Thread
Bot only greets itself #257518 18/04/16 12:05 AM
Joined: Apr 2016
Posts: 5
D
DevilBeach Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Apr 2016
Posts: 5
I have the following code
on *:join:#:{
msg $chan Hey there
}

However the code only greets itself when I connect to the stream and doesn't do anything when other people join..Any ideas?

Re: Bot only greets itself [Re: DevilBeach] #257520 18/04/16 12:40 AM
Joined: Oct 2014
Posts: 49
JB_uk Offline
Ameglian cow
Offline
Ameglian cow
Joined: Oct 2014
Posts: 49
Someone will try to help you, please try not to post multiple times for the same issue, it will most likely delay as people have more to scan through.
Please see my reply on your other post found here

Originally Posted By: JB_uk
Have you executed the updated CAP requests for twitch?

Code:
    /raw CAP REQ :twitch.tv/membership
    /raw CAP REQ :twitch.tv/commands 


I have these in a script so when I connect, they automatically execute

Code:
ON *:CONNECT: {
  if ($server == tmi.twitch.tv) {
    /raw CAP REQ :twitch.tv/membership
    /raw CAP REQ :twitch.tv/commands
  }
}

Let me know if this helps.

Re: Bot only greets itself [Re: JB_uk] #257524 18/04/16 01:43 AM
Joined: Apr 2016
Posts: 5
D
DevilBeach Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Apr 2016
Posts: 5
Yeah that did the trick! Thanks so much man, youre a lifesaver!

Re: Bot only greets itself [Re: DevilBeach] #257525 18/04/16 03:10 AM
Joined: Oct 2014
Posts: 49
JB_uk Offline
Ameglian cow
Offline
Ameglian cow
Joined: Oct 2014
Posts: 49
No problem at all, let me know if you need anymore help.

Try to be here as often as possible.