mIRC Homepage
So I have an idea of how this but its not going as planned.
Basically i'm trying to figure out how to timeout this link that a bot keeps coming into this channel that I mod for, but problem is it keeps bypassing the timeout for links, its a shortened URL that is a download to a virus, multiple people have gotten viruses from this.

I currently have this:

Code:
on *:text:*.apo.af*:#:{
  if ($read(reglist.txt,nw,$nick)) return
  Msg # .timeout $nick 1
  Msg # Don't click this link, its a virus. 
}


My question is, is it possible to timeout a sentence that contains "apo.af" which is the start of the shortened link for the download. Whenever I try that code it only times out if its "apo.af" i'm wondering if it could timeout things that contains that.
Try to take away the . in front of apo.af
still doesn't work frown http://i.imgur.com/Zcz2nRS.png
Try this

Code:
on $*:TEXT:/apo\.af/:#: { 
msg # virus etc
msg # /timeout $nick 
}
same thing frown
Originally Posted By: FluffehKitteh
same thing frown


It works for me. Put it in a new script file, you probably have another ON TEXT blocking it
Try this:

Code:
on *:TEXT:*apo.af/*:#: {
  msg # .timeout $nick 600 
}
I tried that but it only blocks out if someone types "apo.af" if the link was posted like this "apo.af/testest" it still allows it
same thing above
I just tried it, and it worked for me.
Is something wrong here for me? http://i.imgur.com/nAoFvkL.png
I did it exactly how yours is, but still doesn't timeout.
put it in an empty script file
I have but still doesn't work.
Uhm, try typing in /remote on
If it still doesn't work I duno what's wrong, maybe try reinstalling
tried reinstalling as well and still isn't working frown if anyone else has any suggestions it would be much appreciated
It's possible you need this

Quote:

on *:CONNECT: {
if ($server == tmi.twitch.tv) {
raw CAP REQ: twitch.tv/membership
raw CAP REQ: twitch.tv/commands
}
}
It's possible you need this. - https://forums.mirc.com/ubbthreads.php/topics/254093/
I've already requested the admin thing, i'm pretty sure my client is fine, all my other commands are doing well too but this one.
One thing i've noticed, is that 10% of the time or so, my own bot won't timeout something.

I think what will need to be done, is check for $rawmsg contains $nick timeout, if not, send the timeout again.

I'll experiment.
Did you find a way to get it work? smile
not really i gave up after a few days :P
This should work if i understood the question
Code:
on *:text:*:#: {
if (.apo.af isin $1-) {
  Msg # /timeout $nick 1
  Msg # Don't click this link, its a virus. 
}
}
© mIRC Discussion Forums