mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2016
Posts: 78
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 78
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,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Try use this code:

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

Joined: Jan 2016
Posts: 78
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 78
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.
S
Sissou
Sissou
S
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,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Sorry typo mistake!

Use this:

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

Joined: Jan 2016
Posts: 78
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 78
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,483
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
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.

M
MattiSony
MattiSony
M
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
}

S
Sissou
Sissou
S
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: 964
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 964
When linking to my mTwitch scripts, please use the github smile

https://github.com/SReject/mTwitch


Link Copied to Clipboard