The West - Color tchat

Adds new features to the chat of The West

< 腳本The West - Color tchat的回應

評論:正評 - 腳本一切正常

Ehm
§
發表於: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 Robert作者
§
發表於: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).

發表回覆

登入以回復

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址