pescados666 commented on a Page, !Slang Urban Dictionary Script  -  Nov 05, 2014

Urbandictionary updated again. I got it to work for me by
changing line 89 from elseif ($regex(%SlangUD,/<div\sclass=['"]small['"]>/)) { to elseif ($regex(%SlangUD,/<div\sclass=['"]ribbon)) {
and changing line 92 from elseif (($svar($sockname,div) == small) && ($regex(%SlangUD,/(^\d+)./))) { to elseif (($svar($sockname,div) == small) && ($regex(%SlangUD,/(^\d+)/))) {
Probably a cleaner way to do it, but it works lol. Regex is hard.
http://pastebin.com/5gWY7i4S here's a nicer link

dolemite  -  Nov 06, 2014

Thanks a lot!

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.