mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2017
Posts: 57
Babel fish
OP Offline
Babel fish
Joined: Jan 2017
Posts: 57
Small-Title Size limit strikes again!

Anyways, I am working on a set of scripts aimed at Twitch Streaming, and for those not in the know, the Chat Box is a huge deal over there.

I have a script currently that we'll refer to as the Death Counter. I can influence the counter by saying messages in chat. For example, typing "!death set 40" tells mIRC to update the death counter value in an .ini file somewhere to "40."

However, a counter for death-intensive games where you die a lot in a short amount of time would understandably flood chat.

However however, I can make some third-party tools write text directly to a text file, bypassing the public chat completely, and I wanted to ask you guys if the following idea is possible:

Can I parse a line of text from "Text-Input-Source.txt" as if it was an incoming message from the channel "#Channel-Name-Here"?

Joined: Jan 2004
Posts: 2,127
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2004
Posts: 2,127
perhaps you want /filter with the -fk switches, where the -k replaces the output file/window with an alias
https://en.wikichip.org/wiki/mirc/commands/filter


Link Copied to Clipboard