ID:148711
 
This gives the following errors:
loading [unknown].dme
[unknown].dm:18:error: usr: missing comma ',' or right-paren ')'
[unknown].dme:27:error: unbalanced }

[unknown].dmb - 2 errors, 0 warnings (double-click on an error to jump to it)

The code is:

[DM]mob
proc
Title()
switch(input("Do you want a title?","Title","Yes") in list("Yes","No"))
if("Yes")
switch(input("Type up a title!","Title",usr.title)
usr.title = "[usr.title]" //Error
if("No")
return 0


switch(input("Type up a title!","Title",usr.title)<font color = red>)</font>

You're missing a right-paren.
Drafonis wrote:
This gives the following errors:
loading [unknown].dme
[unknown].dm:18:error: usr: missing comma ',' or right-paren ')'
[unknown].dme:27:error: unbalanced }

[unknown].dmb - 2 errors, 0 warnings (double-click on an error to jump to it)

The code is:

[DM]mob
proc
Title()
switch(input("Do you want a title?","Title","Yes") in list("Yes","No"))
if("Yes")
switch(input("Type up a title!","Title",usr.title)
usr.title = "[usr.title]" //Error
if("No")
return 0




Missed a ')'... Look:

mob
proc
Title()
switch(input("Do you want a title?","Title","Yes") in list("Yes","No"))
if("Yes")
switch(input("Type up a title!","Title",usr.title)) //Here you missed it.
usr.title = "[usr.title]" //Error
if("No")
return 0

--Lee