ID:262812
 
Code:
obj/Door4x
verb
Opens_Door()
set src in view(1)
switch(alert(usr,"Do you want to goto the boss room?"," ","Yes","No "))
if("Yes")
usr.loc = locate(483,236,1)
switch(input(usr,"[usr]: Maxiex what are you doing here? What happend to the people on the ship?")in list(" ","Continue"))
if
if("Continue")
switch(input(usr,"Maxiex: The name is Darkness now...[usr] I am sorry but...I am now one of the Infils. Join us [usr] to fight for a common vision.")in list(" ","No way Maxiex!"))

if("No way Maxiex!")
switch(input(usr,"Darkness: I said my name is Darkness. [usr]: Ok Darkness just give me the vial and ill be off")in list(" ","Continue"))

if("Continue")
switch(input(usr,"Darkness: You are funny you know I came for the Infil spirit and nothing else.")in list(" ","Darkness give the vial it contains to much evil and is a danger to the world"))

if("Darkness give the vial it contains to much evil and is a danger to the world")
switch(input(usr,"Darkness: Hmph prepare to see my new power!")in list(" ","Im sorry but i guess we must fight!"))

if("Im sorry but i guess we must fight!")
usr.loc = locate(483,208,1)
sleep(10)
usr.loc = locate(483,180,1)
sleep(3)
usr.loc = locate(483,152,1)
sleep(3)
usr.icon_state = "char2"
usr.health = 1
switch(input(usr,"Darkness: Hah I knew you always were a weak one.")in list(" ","..."))
..()
if("...")
usr.loc = locate(483,124,1)
sleep(50)
usr.loc = locate(483,96,1)
sleep(100)
usr.loc = locate(483,60,1)
switch(input(usr,"[usr]: Ah..ahh...where..where am I?")in list(" ","Get up"))
if("...")
usr<<"Wait! where did Maxiex go..?"

..()

else
..()


Problem description:

Im working on my game and im getting this error :
Edit this if uwish.dm:10:error: missing condition
on if("Continue")
could anyone tell me what im doing wrong ?

Yeah, you've got a bunch of switch(inputs) that carry out no procedure, and out of place if statement, and useless 'usr' placements in input(). They default to usr automatically. You shouldn't set the mob's location directly, you should call Move() or something.
okokokok... you have to ident some of that
switch here
indent if("continue")
obj/Door4x
verb
Opens_Door()
set src in view(1)
switch(alert(usr,"Do you want to goto the boss room?"," ","Yes","No "))
if("Yes")
usr.loc = locate(483,236,1)
switch(input(usr,"[usr]: Maxiex what are you doing here? What happend to the people on the ship?")in list(" ","Continue"))
if("Continue")
switch(input(usr,"Maxiex: The name is Darkness now...[usr] I am sorry but...I am now one of the Infils. Join us [usr] to fight for a common vision.")in list(" ","No way Maxiex!"))

if("No way Maxiex!")
switch(input(usr,"Darkness: I said my name is Darkness. [usr]: Ok Darkness just give me the vial and ill be off")in list(" ","Continue"))

if("Continue")
switch(input(usr,"Darkness: You are funny you know I came for the Infil spirit and nothing else.")in list(" ","Darkness give the vial it contains to much evil and is a danger to the world"))

if("Darkness give the vial it contains to much evil and is a danger to the world")
switch(input(usr,"Darkness: Hmph prepare to see my new power!")in list(" ","Im sorry but i guess we must fight!"))

if("Im sorry but i guess we must fight!")
usr.loc = locate(483,208,1)
sleep(10)
usr.loc = locate(483,180,1)
sleep(3)
usr.loc = locate(483,152,1)
sleep(3)
usr.icon_state = "char2"
usr.health = 1
switch(input(usr,"Darkness: Hah I knew you always were a weak one.")in list(" ","..."))
..()
if("...")
usr.loc = locate(483,124,1)
sleep(50)
usr.loc = locate(483,96,1)
sleep(100)
usr.loc = locate(483,60,1)
switch(input(usr,"[usr]: Ah..ahh...where..where am I?")in list(" ","Get up"))
if("...")
usr<<"Wait! where did Maxiex go..?"

..()

else
..()

like dat
In response to CaptFalcon33035
Thnx man now i got a video in my game thats acualy preety cool...come see Sabre XI and see it when its alpha testing
thnx for your time

-----------------------------------------------------
F
Fl
Fla
Flam
Flame

Flame G
Flame Gu
Flame Gua
Flame Guar
Flame Guard
Flame Guardi
Flame Guardia
Flame Guardian