Jethro commented on a Page, Advertising warning kick/ban  -  Jan 19, 2010

I will recommend regex's positive lookup:

on @$*:text:/((?<=\43)\S+\b)/iS:#:

Napa's can be altered using \S+ , but that will result in triggering ###### -Edit, unless a \b is added at the end. And we want to use \S to match non-space or special characters in case some channel names are not just words.

KilllerX  -  Oct 01, 2013

How would I go about, doing this. But having an allowed link exception. So that any link that is in that list (for that specific channel) is accepted in that channel. I was thinking of something along the lines of a $read(). But not sure how I would go about checking for that exact base link. If it is in a string of text.

ex: Check out this awesome site www.awesomesite.com

Have the bot check if awesomesite is accepted, and if it isn't then it does the ban. I could use a variable to add a person to an accept link from for 30 seconds or however long I wish. but going about the accepted link I can't figure out.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.