Also I know; two things in one day. But, found this 'amazing' site. http://unfurlr.com/
It takes Shortened urls, and gets their long url. What I would like is if it could look at the Actual URL, and get it's Trustworthiness, Child safety, and Privacy. This could be used in conjunction with my last idea. That the bot would use this to figure out shortened links and if they are accepted, it would let them slide, otherwise kick on the severity.
Edit: Also page title would be nice to look at. And if it has anything to do with Porn, or NSFW stuff, that also would be a kick worthy thing.
Not sure if this concept is possible.
But I was wondering is it is possible to make a script that you could use it (lets say it is isLink)
So that I could do a
if ($1- isLink) { (check file for links that are unaccepted in chat; if true) var %link
else { halt }
if (!%link) {
$readini(badlinks,severity, %link) { .... }
else { halt }
}
}
Where the Severity of how bad the link is I could have separate GOTO, and different ban times for each severity?
Like all shortened links are a 30 second kick
All Level 1 (Things we prefer not in the chat [4chan type]) a 1 minute kick
All Level 2 (Things we don't want in chat) a 3 minute kick
and Level 3 (Porn, or things of that type) a 10 minute kick.
And I might be able to add Offenses; that increase the amount of time to each kick. And on the 3rd offense it bans.
on $:text:/^!subs\b/Si::{
if ($nick isop #) {
if ($2 == list) || (!$2) {
if ($ini(sub.ini,$chan,0)) {
var %a 1, %z $ini(sub.ini,$chan,0)
msg # # has %z sub(s)
}
else { msg # No subs for $chan $+ .
}
}
if ($2 == add) {
if (!$3) {
msg # please specify whom to add.
}
else { writeini sub.ini $chan $3 subbed
msg # " $+ $3- $+ " has been added to the list
}
}
if ($2 == remove) {
if (!$3) {
msg # please specify whom to remove.
}
else {
if ($readini(sub.ini,$chan,$3)) {
remini sub.ini $chan $3
msg # Removed " $+ $3 $+ " from the list
}
}
}
}
}
I think this should do what you want. I hope.