The West - Color tchat

Adds new features to the chat of The West

< Feedback on The West - Color tchat

Review: Good - script works

Ehm
§
Posted: 2019-02-18

Script parsing error

First of all, thanks a lot for the script : it makes the tchat much more fun. <3

I'm currently using the version 0.3.0.3 of the script "The West - Color tchat" - running all ok. I was just checking how to add some emoji and went to the script :p

But I found there a parsing error at line 808 : for (var j of em) As such, easy to fix : for (var j in em) But this raises a lot of error, caused by undefined object Game ... probably missing included module.

But that's a bit too far for me.

Tom RobertAuthor
§
Posted: 2019-02-18

Just leave "for (var j of em)" like it is. Maybe your program doesn't know "for ... of" because this is newer than "for ... in". "Game" is defined in the game The West (window.Game to be precise).

Post reply

Sign in to post a reply.