RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Syntax problem

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 88
Legend of Mana Fan
How come in one event I always get a syntax error.
The code is:

Code: [Select]
<>Script : $game_system.add_shortcut('\c1', '\nm[Arshes]\face
:        :[Arshes]\fl\')
:        :$game_system.add_shortcut('\c2', '\nm[Basil]\face
:        :[Basil]\fr')
:        :$game_system.add_shortcut('\c3', '\nm[]\face[]')
<>Flash Screen: (0,0,0,255), @30
<>Move event: Player
            :<>Graphic: '189-Down01'. 0. 2, 0
<>Wait: 20 Frames
<>Message: \ignr\c0
:        :WOOAH!
<>Move Event: Player
:           : <>Phasing Mode On
:           : <>Jump: +5, +2
:           : <>Wait: 30 Frames
:           : <>Graphic: '001-Fighter01'. 0. 2, 0
<>Wait: 20 Frames
<>Move Event: [EV002]
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Move left
:           : <>Face Left
:           : <>Wait: 1 Frame
<>Message: Arshes! Kamu nggak apa-apa kan?
<>Message: \c1Aduh...Sakit...Tapi nggak apa-apa
<>Message: \c3\nm[Bu Resa]Bener nggak apa-apa, ya udah
<>Move Event: [EV002]
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
:           : <>Move Right
<>Local Switch: A = ON
<>

I set the trigger to be "Auto Start"
Graphic None
MOvement Pattern: None
SPeed: Slow
Frequency: Slow

Is anything wrong with the event?
Oh, and I'm using Universal Message System (UMS)

Note: The messages are in another language.
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
Which line is it at? What does the error message say exactly?
« Last Edit: January 13, 2007, 06:52:44 AM by arrowone »

***
Rep:
Level 88
Legend of Mana Fan
The message says =
Code: [Select]
?????????? SyntaxError ???????????

ANd about the line....what do you mean? If its about the script, then its in the Game_Temp, on the third line. Then one that says

#--------------------------------------------------------------------------------------

edit: Funny thing...When I erase the event, it goes normally...weird... ???
« Last Edit: January 13, 2007, 12:10:55 PM by magic2345 »
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

**
Rep:
Level 88
Are you using an Advanced Message System? Is there a particular place the event errors or does it just not start?

******
Revolution is not a bed of roses.
Rep:
Level 91
Project of the Month winner for July 2009
<>Message: \c1Aduh...Sakit...Tapi nggak apa-apa
Try putting a space between \ci and the rest

***
Rep:
Level 88
Legend of Mana Fan
I'm using UMS (Universal Message System). When I teleported to an inside of this home, it plays the BGM, show the map but then came a message saying "syntax error"

Oh, and putting a space doesn't help...Sorry, even erasing the event doesn't help...maybe I should make the map again? The map is inside a house...

The problem is either in the event...or the map....
« Last Edit: January 14, 2007, 12:17:09 AM by magic2345 »
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
Post the script you are using, that might help.
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

***
Rep:
Level 88
Legend of Mana Fan
Never mind...The problem is in the event before I teleported.
Game I'm Working on:
-ADVENT-
Progress:
Story: 96%
Maps: 4%
Characters: 70%