TheWhistler commented on a Page, Simple Word Blacklist  -  Jun 29, 2014

THIS FILE WILL NOT WORK
!Blacklist list does not work
[» Sun Jun 29 | 05:17:52 pm «] <~UtahBlaine> mothersticker Has been added to my blacklist, anyone using mothersticker will be timed out for 10 minutes.
[» Sun Jun 29 | 05:18:06 pm «] <+GE-Guest43842> mothersticker

Exuviax  -  Jun 29, 2014

Sorry about that, I updated it, should work now.

TheWhistler  -  Jun 30, 2014

now its not even adding words the cmds isnt working, i had to replace ($nick == exuviax) to ($nick isop #) for it to work
now its working very good even kicking and banning

on :TEXT:!blacklist add:#: {
if ($nick isop #) {
set %blacklist. $+ $3 $+ . $+ $chan On
msg # $3 Has been added to my blacklist, anyone using $3 will be timed out for 10 minutes.
}
else {
msg # Sorry $nick $+ , you do not have permission to add words to the blacklist
}
}
on :TEXT:!blacklist del:#: {
if ($nick isop #) {
unset %blacklist. $+ $3 $+ . $+ $chan On
msg # $3 Has been removed from the blacklist
}
else {
msg # Sorry $nick $+ , you do not have permission to remove words from my blacklist
}
}
on :TEXT::#: {
if ($nick isop #) return
var %i = 1
while (%i <= $0) {
if ($($+(%,blacklist.,$gettok($1-,%i,32),.,#),2)) {
msg # $nick --> Do not use Blacklisted Words. (Timeout)
msg # .timeout $nick 600
break
}
inc %i
}
}

Exuviax  -  Jun 30, 2014

Added this in another update, copied just my script in, and I had it set so only I could blacklist as I didn't want my mods to have access to this command.

TheWhistler  -  Jun 30, 2014

its not doning the kick/ban
here is the way i did it

on :TEXT:!blacklist add:#: {
if ($nick isop #) {
set %blacklist. $+ $3 $+ . $+ $chan On
msg # $3 Has been added to my blacklist, anyone using $3 will be timed out for 10 minutes.
}
else {
msg # Sorry $nick $+ , you do not have permission to add words to the blacklist
}
}
on :TEXT:!blacklist del:#: {
if ($nick isop #) {
unset %blacklist. $+ $3 $+ . $+ $chan On
msg # $3 Has been removed from the blacklist
}
else {
msg # Sorry $nick $+ , you do not have permission to remove words from my blacklist
}
}
on :TEXT::#: {
if ($nick isop #) return
var %i = 1
while (%i <= $0) {
if ($($+(%,blacklist.,$gettok($1-,%i,32),.,#),2)) {
msg # $nick --> Do not use Blacklisted Words. (Timeout)
msg # $nick you nasty talking booger, you need a timeout
timer 1 10 /msg chanserv ban # $nick Do not use Blacklisted Words.
break
}
inc %i
}
}

with that it works good

Exuviax  -  Jun 30, 2014

This script, the one I coded is set to work with Twitch, not default IRC

xxepic12xx  -  Oct 01, 2014

i cant get this to do anything with my bot im not sure where its messing up but its not responding at all

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.