public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Can anyone see what is wrong with this script?

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: Can anyone see what is wrong with this script?
  • Original author: ZombieKidzRule
  • Original date: January 22, 2023
  • Source thread: https://forums.rpgmakerweb.com/threads/can-anyone-see-what-is-wrong-with-this-script.154310/
  • Source forum path: Game Development Engines > RPG Maker MZ Support

Summary

I have been tweaking this script and experimenting with pieces of it in smaller events to make sure I am doing everything correctly. Unfortunately, I am at a spot where it seems something is wrong and I can't figure out what. I have double checked what I think are the appropriate spaces. if ($gameVariables.value(410) >= $gameVariables.value(411) && $gameVariables.value(410) >= $gameVariables.value(412) && $gameVariables.value(410) >= $gameVariables.value(413) &&

Archived First Post

I have been tweaking this script and experimenting with pieces of it in smaller events to make sure I am doing everything correctly. Unfortunately, I am at a spot where it seems something is wrong and I can't figure out what. I have double checked what I think are the appropriate spaces.


if ($gameVariables.value(410) >= $gameVariables.value(411) &&

$gameVariables.value(410) >= $gameVariables.value(412) &&

$gameVariables.value(410) >= $gameVariables.value(413) &&

$gameVariables.value(410) >= $gameVariables.value(414) &&

$gameVariables.value(410) >= $gameVariables.value(415) &&

$gameVariables.value(410) >= $gameVariables.value(362) &&

$gameVariables.value(410) >= $gameVariables.value(363) &&

$gameVariables.value(410) >= $gameVariables.value(364) &&

$gameVariables.value(410) >= $gameVariables.value(365) &&

$gameVariables.value(410) >= $gameVariables.value(366) &&

$gameVariables.value(410) >= $gameVariables.value(367)) {

$gameVariables.value(400).push("A1");

$gameVariables.value(410) = 0;

$gameVariables.setValue(398, $gameVariables.value(398) -1);

this.command119(["Skip"]);

}

I have a single space after every "&&".
Are there supposed to be spaces after the "{" and after each" ;"?

I tested the concept of having multiple && and it worked fine. I tested the push script and the subtracting script. I also tested the Jump to Label script.

But I am still getting this error message. I just can't see the error.

Protected download

Thanks to anyone who can spot what I am doing wrong!

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

Reference Error.png
Reference Error.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#mz-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar