tLPAREN_ARG Error for Map Effects Script

I'm not sure if this is the right place to post this, since I'm new this this site, but I'm assuming it is.


I downloaded this script into my game, and the game works just fine until I enter the room where the effect is supposed to take place. The full error is:


Script 'Game_Interpreter' line 1411: SyntaxError occurred.


unexpected tLPAREN_ARG, expecting $end


- map_effects.set_wave (5 3 2 9)


I went to the line that the error specified, but I didn't find anything of use. Can someone please help me? Sorry if this is an obvious question, I'm also somewhat new to RPGMVXA...
A syntax error in the game interpretor most likely means that you made an error within a script command in an event.


So please show us a screenshot of the event where you try to use the script.


(and to be sure - you did start a new game after installing the script? Installing such a script will make older saved game-files incompatible, you cannot continue them without getting such errors)
I tried to make a new save, yet the error remained. Here's a screenshot of the script, along with some other details I thought might help solve the issue...

Script.PNG

Event.PNG

Script list.PNG
Nevermind, I got the thing fixed! I'm not entirely sure what the problem was, but I think it was that the script was supposed to say:


map_effects.set_wave(amp, length, speed, duration=0)


And not:


map_effects.set_wave (amp, length, speed, duration=0)


Also, that little dash wasn't supposed to be there either. Thank you for your advice!
those exactly were your mistakes - a single wrong letter or space in a script will always cause problems.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/tlparen_arg-error-for-map-effects-script.74329/