getting error: unexpected tLPAREN_ARG

helpmeplease

Warper
Member
Joined
Jul 28, 2017
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMVXA
So, I went into the script and made an extra option on the title screen (which I dont even code though lol)

anyway, basically all it does is explain the story of the game. But when I start up the game, it has an error saying:

"Script 'SceneTitle' line 96: SyntaxError occured."
"unexpected tLPAERN_ARG, expecting keyword_do or '{' or '('
@command_window.set_handler ( :story, method ( :command_story))"

(I had the colon and the parenthesis together on the code, but I had to move them apart on here or else it made an emoji)

I wrote the code exactly like all the other options on the menu, so I dont know why it does that.




Again though, the only thing I've ever programmed was in TI-BASIC, sooo yeah.
Im probably just being an idiot and wasting your time, but... I cant find a solution, so, yeah.
 
Last edited:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,418
Reaction score
7,709
First Language
German
Primarily Uses
RMMV
[move]Learning RGSS3[/move]

Your image is not visible, please correct that
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,418
Reaction score
7,709
First Language
German
Primarily Uses
RMMV
S
I wrote the code exactly like all the other options on the menu, so I dont know why it does that.
No, you did not write it exactly as the other lines - you added a space between method and ( that is now causing you this error
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,189
Members
137,771
Latest member
evoque
Top