mIRC Home    About    Download    Register    News    Help

Print Thread
#253900 11/07/15 09:29 PM
Joined: May 2015
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: May 2015
Posts: 7
So say, I am connected to the Twitch IRC and am in a valid channel. I have a basic script that goes:
Code:
on *:text:Hello:#CHANNEL  { 
/msg $chan Hello there!
}

Why is it that I can only trigger it on another client? If I try to trip it in an mIRC window it will fail. But if I'm in the chatroom on Twitch's side it will succeed.

I've been wondering this for a while now. Thoughts?

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
You can't trigger your own text events, simple as that.

Joined: May 2015
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: May 2015
Posts: 7
But I can trigger them if I'm not under mIRC using the same account name and everything?

Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
You can trigger it using your own nick as long as you're not using the same connection on the same client. (For instance the Twitch.tv webclient)

To trigger on your own text from the client's connection, you need to use the on input event.

Last edited by Nillen; 11/07/15 10:38 PM.

Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
For twitch, this is incorrect. Twitch doesn't send messages you send to different connections using the same account.

That is to say. If you have mIRC using the same account you are using from the webbrowser, twitch will not send messages you send from the webbrowser to the mIRC connection.


I am SReject
My Stuff
Joined: Dec 2013
Posts: 779
N
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Hmm, you are indeed correct. This used to be the case earlier.
The case remains if you have two connections using the same mIRC client however. Connecting as the same nick on two different connections will display messages from Connection 2 to Connection 1.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net

Link Copied to Clipboard