You are viewing our Forum Archives. To view or take place in current topics click here.
mIRC Twitch Bot script help.
Posted:
mIRC Twitch Bot script help.Posted:
Status: Offline
Joined: Mar 27, 201311Year Member
Posts: 213
Reputation Power: 8
Status: Offline
Joined: Mar 27, 201311Year Member
Posts: 213
Reputation Power: 8
So im writing a twitch bot in mIRC and im working on a link protection script and im stuck.
So far i got the code to delete the link and time you out but it times the user out for 10 mins and i dont want it that long.
on $*:text:/\.(?=com\b|net\b||dk\b|org\b|ca\b|uk\b|tv\b|name\b)/iS:#slagga:{
/msg $chan .timeout $nick | /msg $chan Whoa! $nick , Don't Post links in here without permission from a mod.. Cya in 10 mins B) }
So far i got the code to delete the link and time you out but it times the user out for 10 mins and i dont want it that long.
on $*:text:/\.(?=com\b|net\b||dk\b|org\b|ca\b|uk\b|tv\b|name\b)/iS:#slagga:{
/msg $chan .timeout $nick | /msg $chan Whoa! $nick , Don't Post links in here without permission from a mod.. Cya in 10 mins B) }
#2. Posted:
Status: Offline
Joined: Oct 19, 201311Year Member
Posts: 29
Reputation Power: 1
Status: Offline
Joined: Oct 19, 201311Year Member
Posts: 29
Reputation Power: 1
Twitch only allows you to timeout for 10mins you can do any less
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jan 22, 201410Year Member
Posts: 1
Reputation Power: 0
Martins wrote So im writing a twitch bot in mIRC and im working on a link protection script and im stuck.
So far i got the code to delete the link and time you out but it times the user out for 10 mins and i dont want it that long.
on $*:text:/\.(?=com\b|net\b||dk\b|org\b|ca\b|uk\b|tv\b|name\b)/iS:#slagga:{
/msg $chan .timeout $nick | /msg $chan Whoa! $nick , Don't Post links in here without permission from a mod.. Cya in 10 mins B) }
on $*:text:/\.(?=com\b|net\b||dk\b|org\b|ca\b|uk\b|tv\b|name\b)/iS:#slagga:{
/msg $chan .timeout $nick 1 | /msg $chan Whoa! $nick , Don't Post links in here without permission from a mod.. }
Fixed it for you, copy and paste that code into your mIRC, and it will only time people out for 1 second.
---To the guy that says you can only timeout on twitch for 10 minutes clearly hasn't be a mod on twitch before, or doesn't know the typed commands very well.
I've been a mod in some highly known channels for over 2 years now.
cheers guys!
[ Register or Signin to view external links. ] be sure to follow!
[ Register or Signin to view external links. ] <-- private Majeye on twitch if you'd like Majeyebot in your channel
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.