Skribbl.io Helper

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

< Skribbl.io Helper 피드백

리뷰: 좋음 - 잘 동작함

§
작성: 2019-07-18

Good job !

It's simple, clean, and works perfectly.

§
작성: 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( )

n0thing개발자
§
작성: 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

§
작성: 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){

댓글 남기기

댓글을 남기려면 로그인하세요.