The West - Color tchat

Adds new features to the chat of The West

< Commentaires sur The West - Color tchat

Avis: Bon - le script fonctionne correctement

Ehm
§
Posté le: 18/02/2019

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 RobertAuteur
§
Posté le: 18/02/2019

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).

Poster une réponse

Connectez-vous pour poster une réponse.