mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
my bot's Text
Code:
on *:TEXT:<3:* { msg $nick $chan <3 }


Code:
person 1:<3
bot:<3
person 2:<3
bot:<3
person 3:<3
bot:<3
person 4:<3
bot:<3
person 5:<3
bot:<3
person 6:<3
bot:<3

then twitch is banned my ip.i cant connect chat.
how to create spam protection for my twitch bot?

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Try use this code:

Code:
ON *:TEXT:<3:#: { 
  if (%flood) { return }
  set -eu60 %flood 1
  msg $nick $chan <3
}


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
Originally Posted By: westor
Try use this code:

Code:
ON *:TEXT:<3:#: { 
  if (%flood) { return }
  set -eu60 %flood 1
  msg $nick $chan <3
}


this code doesnt working for me.

bot saying anything.

Last edited by x3pos; 01/03/16 09:43 PM.
Joined: Jul 2015
Posts: 13
S
Pikka bird
Offline
Pikka bird
S
Joined: Jul 2015
Posts: 13
Quote:
on *:TEXT:<3:#:{
if (%flood) { return }
set -u60 %flood On

msg $nick $chan <3
}

Last edited by Sissou; 01/03/16 11:20 PM.
Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Sorry typo mistake!

Use this:

Code:
ON *:TEXT:<3:*: { 
  if (%flood) { return }
  set -eu60 %flood 1
  msg $nick $chan <3
}


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
Originally Posted By: westor
Sorry typo mistake!

Use this:

Code:
ON *:TEXT:<3:*: { 
  if (%flood) { return }
  set -eu60 %flood 1
  msg $nick $chan <3
}


sorry doesnt work. bot saying anything.

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Follow these steps into the bot mIRC.

1. Remove the old code.
2. Paste the new code above into a 'New File' in the "Remotes" (alt+r) tab.
3. Use the latest version 7.43.
4. Execute the "/remote on" command.
5. Execute the "/unset %flood" command.
6. If still not working make sure you have also this code it's for twitch related and reconnect the bot.


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Oct 2014
Posts: 35
M
Ameglian cow
Offline
Ameglian cow
M
Joined: Oct 2014
Posts: 35
You can't msg $nick on Twitch.. This is most likely what you meant:

Code:
ON *:TEXT:<3:*: { 
  if (%flood) { return }
  set -eu60 %flood 1
  msg $chan $nick <3
}


Matti
Joined: Jul 2015
Posts: 13
S
Pikka bird
Offline
Pikka bird
S
Joined: Jul 2015
Posts: 13
Originally Posted By: MattiSony
You can't msg $nick on Twitch.. This is most likely what you meant:


Of course you can.
If you use Json script and this: http://hawkee.com/snippet/16489/

Last edited by Sissou; 05/03/16 09:22 AM.
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
When linking to my mTwitch scripts, please use the github smile

https://github.com/SReject/mTwitch


I am SReject
My Stuff

Link Copied to Clipboard