ID:148322
 
I need help with my Login code. I get the following errors:

loading realm.dme
main.dm:36:error: ): expected }
main.dm:36:error: location of top-most unmatched {
main.dm:36:error: ): expected }
main.dm:35:error: location of top-most unmatched {

realm.dmb - 5 errors, 0 warnings (double-click on an error to jump to it)

From:

src << "Now, which diety are you loyal to? Your diety determines what type of Ki attacks you can learn." switch(alert("To which diety are you loyal to?",,"Bachara, God of Evil","Yalana, Goddess of Life","Pafara, God of Light")) if("Bachara, God of Evil") // error 1-3 src.alliance = "Bachara, God of Evil") // error 4 if("Yalana, Goddess of Life") src.alliance = "Yalana, Goddess of Life") if("Pafara, God of Light") src.alliance = "Pafara, God of Light")

Kindly do not comment of the fact that this code is strongly religious.
Drafonis wrote:
I need help with my Login code. I get the following errors:

loading realm.dme
main.dm:36:error: ): expected }
main.dm:36:error: location of top-most unmatched {
main.dm:36:error: ): expected }
main.dm:35:error: location of top-most unmatched {

realm.dmb - 5 errors, 0 warnings (double-click on an error to jump to it)

From:

<code>src << "Now, which diety are you loyal to? Your diety determines what type of Ki attacks you can learn." > switch(alert("To which diety are you loyal to?",,"Bachara, God of Evil","Yalana, Goddess of Life","Pafara, God of Light")) > if("Bachara, God of Evil") // error 1-3 > src.alliance = "Bachara, God of Evil") // error 4 > if("Yalana, Goddess of Life") > src.alliance = "Yalana, Goddess of Life") > if("Pafara, God of Light") > src.alliance = "Pafara, God of Light")</code>

Kindly do not comment of the fact that this code is strongly religious.
All these need a (
src.alliance = "Bachara, God of Evil")
src.alliance = "Yalana, Goddess of Life")
src.alliance = "Pafara, God of Light")
In response to Jem
lol, thanks.
In response to Jem
Jem wrote:
All these need a (
src.alliance = "Bachara, God of Evil")
src.alliance = "Yalana, Goddess of Life")
src.alliance = "Pafara, God of Light")

Actually, they don't. The ) at the end of each line is wrong. Just remove that and they'll be fine.