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
ID:148711
Oct 31 2002, 12:42 pm
|
|
Drafonis wrote:
This gives the following errors: 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 |
You're missing a right-paren.