mIRC Home    About    Download    Register    News    Help

Print Thread
#252876 15/05/15 04:12 AM
Joined: May 2015
Posts: 249
splinny Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: May 2015
Posts: 249
When you use "/CAP REQ :twitch.tv/tags" while connected to twitch.tv, you will recive not usual messages from users, but something like this:
[10:57:49] tmi.twitch.tv @color=#x;display-name=NICK;emotes=X;subscriber=X;turbo=X;user-type=X;user_type=
nick!nick@nick.tmi.twitch.tv PRIVMSG #chan some-text

and "raw *:*:{ echo -s $1- }" returns only
"nick!nick@nick.tmi.twitch.tv PRIVMSG #chan some-text"-part

Is there a way to get whole "message"?


Dont give a fish - teach to fish!
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
Code:
raw *:*:{
  echo -a $rawmsg
}


Even though this will get you the line as-is, please note there's no way to manipulate the line in such a way that mIRC will handle it regularly.

Last edited by FroggieDaFrog; 15/05/15 04:17 AM.

I am SReject
My Stuff
Joined: May 2015
Posts: 249
splinny Offline OP
Fjord artisan
OP Offline
Fjord artisan
Joined: May 2015
Posts: 249
tnx
btw, is there a way to disable this /CAP-command w\o re-connectnig?

Last edited by splinny; 15/05/15 04:21 AM.

Dont give a fish - teach to fish!

Link Copied to Clipboard