ID:164160
 
i got this code for a login system and i have this error that says expected end of statement. im new to this(3 days) and i probably sound retarted, but, how can i fix it? btw im on a psp so i dont feel like spending 3 hours writing out the code. i cant open any totorials on the psp either. my internet at home is down and dream makers all i got left. all i need to know is wat an end of statement is. thanks
A little more information? What is it supposed to do, where does the error appear?
In response to Burnination
mob/usr Login switch(input( thats the first 3 lines heres the error 31:error:mob: expected end of statement
In response to Ziosin
psp is hard to type on sry
In response to Ziosin
I believe you want this
Login()
switch(input("What do you want to do?")in list("Choice1", "Choice2", "Choice3"))
if("Choice1")
//code here
if("Choice2")
//code here

Don't compile until you are done with the line. You may also want to paste this as the very first line
world
mob = /mob/User/player //Replace player with the mob name that you want to be the user
view = 6 //1-10, 6 is default, if you like that size just delete this line
In response to Burnination
it is thanks u saved me alot of aggrovation lol