mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2016
Posts: 9
P
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Jun 2016
Posts: 9
Hey guys,

I would like to know - since I can't find it anywhere else in the internet - if it's possible to create a script in mIRC that is getting executed if a certain number of people type the same message in a chat. I just cannot figure out how to do it.

I appreciate any help!

Joined: May 2015
Posts: 133
K
Vogon poet
Offline
Vogon poet
K
Joined: May 2015
Posts: 133
Sure. Just initialize a variable, call it count.

Just do:

Code:
on *:text:hello world:# {
  if (%count = 6) {
    msg # hello to you too!
  }
  else (inc %count) 


Something like that. on the 6th time someone says hello world, the bot will answer back with "hello to you too!"


twitter @keyeslol
Joined: Jun 2016
Posts: 9
P
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
P
Joined: Jun 2016
Posts: 9
Thank your for your fast reply! smile
really helps


Link Copied to Clipboard