public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Syntax error unexpected token var

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Syntax error unexpected token var
  • Original author: Eraine
  • Original date: October 5, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/syntax-error-unexpected-token-var.69276/
  • Source forum path: Game Development Engines > Legacy Engine Support > RPG Maker MV Support

Summary

Hello, I've been trying to find topics on syntax errors, but couldn't find any that match the error I'm getting. Whenever I testplay my game and call up the common event "sleep" (which resets some NPC positions and gathering resources) I get a "syntax error unexpected token var". Before, the common event worked fine. I've taken out some of the more complicated events I did since then, disabled the plugins I added since then, but keep getting this error. I will include screenshot of the error report below. I also...

Archived First Post

Hello,


I've been trying to find topics on syntax errors, but couldn't find any that match the error I'm getting. Whenever I testplay my game and call up the common event "sleep" (which resets some NPC positions and gathering resources) I get a "syntax error unexpected token var". Before, the common event worked fine. I've taken out some of the more complicated events I did since then, disabled the plugins I added since then, but keep getting this error. I will include screenshot of the error report below.


I also replaced the mentioned .js files with ones from a new (empty) project and that help either. I haven't messed with the code, I am no scripter. I hope someone can help me fix this!


Thanx in advance!

Protected download

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

Referenced Images / Attachments

Syntaxerror161004.png
Syntaxerror161004.png
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#mv-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar