MV Help with spawning events?

I'm trying to use Galv's event spawner plugin to implement an item placing function. I'm hoping it is similar Stardew valley: placing a machine that can be interacted with, but also picked up again if need be. Unfortunately I haven't gotten the placing to work.

The event is picked up as an item that has this common event attached. But upon using the item out of the hotbar, nothing is spawned but the item is used. When I run the game it says theres a syntax error, but everything looks fine to me (given I am a complete noob). So I bring it here.

The top bit is for finding the coordinate the player is looking at. Any improvements or errors that immediately pop out? Should I test without the hotbar plugin (MKR map item slot)? Thanks in advance

Screen Shot 2024-02-23 at 5.49.03 PM.png
Haven't used the plugin, but:

-your event id probably shouldn't have leading zeros
-don't know if the position accepts variables, and if it does, that's probably not the correct syntax?
-to my understanding instead of writing that 's', you should write 'true' (without the ''-marks) in there, if you want it to be saved
-and if you want the item to be placed in front of you, isn't it left -1x, right +1x, up -1y, down +1y?
Haven't used the plugin, but:

-your event id probably shouldn't have leading zeros
-don't know if the position accepts variables, and if it does, that's probably not the correct syntax?
-to my understanding instead of writing that 's', you should write 'true' (without the ''-marks) in there, if you want it to be saved
-and if you want the item to be placed in front of you, isn't it left -1x, right +1x, up -1y, down +1y?
Thank you so much, everything you said here was completely correct!! I wasn't using javascript syntax and once i did everything worked (given the directions were all mixed up, but I was able to fix that quickly! Big thanks for noticing that as I do in fact have trouble with my directions 😛)

If anyone else wants to replicate this quickly, here is the event that worked!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-spawning-events.166109/