mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2015
Posts: 26
O
obee Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jul 2015
Posts: 26
I have a couple bots and several scripts. The scripts/bots will talk to the main bot which controls my stream and user database. Example, trivia bot will say "!give user 1" to reward a user for a correct answer. or "!updategame DayZ" to update the game that's currently running.
Twitch has a new feature to whisper to other users without leaving the channel you're in. Is there a way to insert a line in each script to whisper the bot these kinds of "background" commands? That way users will only see:

"thebot has given user 1 points"

instead of

"!give user 1
thebot has given user 1 points"

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
https://forums.mirc.com/ubbthreads.php/ub...ing_#Post253609

Why aren't you running everything on the same client?

Joined: Jul 2015
Posts: 26
O
obee Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jul 2015
Posts: 26
1. I have a two PC stream set up.
2. I use a third party program as the main twitch bot, which provides features that are not available in mIrc scripts. At least not that i know of... but certainly would require a great deal of work to re-create all its features.

Joined: Jul 2015
Posts: 26
O
obee Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jul 2015
Posts: 26
I have updated the code with:

PRIVMSG #obeewnn :/w obeesak !editcmd !server %ip

PRIVMSG instead of msg, but it doesn't seem to be working. I have heard you need to have a multiconnection with irc.twitch.tv as well as chatdepot.twitch.tv but I'm not sure how to do this.

Code:
;Start timer when mirc starts that checks for changes every 30 seconds
on *:start: .timerdayzprofile 0 1 dayzprofile

;Alias that checks if the file has changed and messages channel. Make sure to update the path for the file and the channel name to message to.
alias dayzprofile {
  set -l %filepath E:\Users\oBeE\Documents\DayZ\oBeE.DayZProfile
  set -l %ip $noqt($remove($read(%filepath,w,LastMPServer=*),LastMPServer=))
  if (%ip != %dayzprofile) {
    set %dayzprofile %ip
    PRIVMSG #obeewnn :/w obeesak !editcmd !server %ip
  }
}

Joined: Jul 2015
Posts: 26
O
obee Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jul 2015
Posts: 26
I tried to remove ":/w obeesak" and it seemed to work, but not when I looked in the chat on twitch.tv... Can anyone help? I tried researching on my own but really no clue how to do it.

Last edited by obee; 13/07/15 08:54 PM.

Link Copied to Clipboard