mIRC Home    About    Download    Register    News    Help

Print Thread
Using different scripts for each server (Twitch) #258116 11/06/16 07:30 PM
Joined: Jun 2016
Posts: 9
P
Psyqological Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Jun 2016
Posts: 9
Hey,

I have a question in terms of using different scripts on each server/account regarding Twitch.
The problem is for example: some in chat writes the command !help so my bot replies to it. However, now I also want my main twitch account to be able to do some stuff (e.g. automatically write !join if a raffle started) but I don't want my main account to also reply to the command !help. Yes, I know... really hard for me to explain but I hope you understood what I mean.
Would appreciate every answer smile

Thank you in advance

Re: Using different scripts for each server (Twitch) [Re: Psyqological] #258190 16/06/16 04:31 AM
Joined: Nov 2013
Posts: 22
funfare Offline
Ameglian cow
Offline
Ameglian cow
Joined: Nov 2013
Posts: 22
target the server specifically with this condition:

Code:
on @*:TEXT:*mule*:#:{
  IF ($network == DALNet) { 
    kick $chan $nick no cows in here! 
  }
}


from: http://www.mirc.org/mishbox/tutorials/mirc6tut.htm