mIRC Homepage
Posted By: x3pos Twitch bot - Spam protection - 01/03/16 08:08 PM
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?
Posted By: westor Re: Twitch bot - Spam protection - 01/03/16 08:12 PM
Try use this code:

Code:
ON *:TEXT:<3:#: { 
  if (%flood) { return }
  set -eu60 %flood 1
  msg $nick $chan <3
}
Posted By: x3pos Re: Twitch bot - Spam protection - 01/03/16 08:28 PM
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.
Posted By: Sissou Re: Twitch bot - Spam protection - 01/03/16 11:10 PM
Quote:
on *:TEXT:<3:#:{
if (%flood) { return }
set -u60 %flood On

msg $nick $chan <3
}
Posted By: westor Re: Twitch bot - Spam protection - 02/03/16 08:51 AM
Sorry typo mistake!

Use this:

Code:
ON *:TEXT:<3:*: { 
  if (%flood) { return }
  set -eu60 %flood 1
  msg $nick $chan <3
}
Posted By: x3pos Re: Twitch bot - Spam protection - 02/03/16 11:14 AM
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.
Posted By: westor Re: Twitch bot - Spam protection - 02/03/16 11:28 AM
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.
Posted By: MattiSony Re: Twitch bot - Spam protection - 04/03/16 04:31 PM
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
}
Posted By: Sissou Re: Twitch bot - Spam protection - 05/03/16 09:22 AM
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/
Posted By: FroggieDaFrog Re: Twitch bot - Spam protection - 05/03/16 03:20 PM
When linking to my mTwitch scripts, please use the github smile

https://github.com/SReject/mTwitch
© mIRC Discussion Forums