NoKz commented on a Page, Wikipedia Script (Snippet Search) v1.0  -  May 28, 2016

Awesome script! Thank you very much for it! I have a couple of questions; I'm working on this for TwitchTV and was trying to figure out a good way to enable it only for moderators and subscribers? Also, is there a way I can blacklist offensive words? Thanks!

illhawkthat  -  May 28, 2016

Glad you got it working for mods and subscribers ( for blacklist words, you can do something like.

alias badwords { return hitler,shit,fuck,bad words,example }

and insert before line 32

if ($gettok($badwords,$($+(%,wiki.,%ticks,.topic),2),44) != $null) {  $($+(%,wiki.,%ticks,.msgtype),2) Sorry that's a bad word.
wikicleanup %ticks
.timerUnsetWiki 1 1 unset $+(%,wiki.,%ticks,*)
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.