Skribbl.io Helper

Learns the wordlist each round and outputs possible words in chat.

< Feedback on Skribbl.io Helper

Review: Good - script works

§
Posted: 2019-07-18

Good job !

It's simple, clean, and works perfectly.

§
Posted: 2019-07-18

I had to modify 2 lines of code, to correct a bug : if the word "butterfly" already exists in the wordlist, then the word "fly" will never be recorded.

if (localStorage.getItem(wordlist).search('"' + word + '"') === -1){

if (localStorage.getItem(wordlist).search('"' + wordchoicelist[i] + '"') === -1){

I just added the double-quotes in the search( )

n0thingAuthor
§
Posted: 2019-07-20

Thanks for letting me know, it was a very simple idea hence a simple script.

I just compared the script now, makes sense! These kinds of things tend to slip through. I'll implement it in v0.23

§
Posted: 2019-07-20

I also modified those 2 lines with a case insensitive search...

if (localStorage.getItem(wordlist).search(new RegExp('"' + word + '"', "i")) === -1){

if (localStorage.getItem(wordlist).search(new RegExp('"' + wordchoicelist[i] + '"', "i")) === -1){

Post reply

Sign in to post a reply.