turf/kkplanet
verb
Jump()
set src in oview(6)
set category = null
if(prob(98))
usr << "You managed to jump to King Kai's Planet safely"
usr.loc = locate(5,40,1)
else
usr << "You Made It To The Other World"
usr.loc = locate(5,40,1)
mob/NPC/
King_Kai
name = "{NPC} King Kai"
icon = 'King Kai.dmi'
density = 1
doing = 0
verb/Talk()
set src in oview(1)
set category = null
switch(input("King Kai: What do you need Mister?","") in list ("I want to be revived"/*,"I want to go to Supreme Kai's","I want more training"*/,"Never Mind"))
if("Never Mind")
return
if("I want to be revived")
if(src in oview(2))
usr << "<font color = white>King Kai:</white> I see you are ready to go, let me revive you."
usr.dead = 0
usr.loc = locate(5,5,1)
usr.safe = 0
sleep(600)
usr.safe = 0
return
else
usr<< "<font color = white>King Kai:King Kai: Bye!"
other world.dm:22:error: switch: undefined proc
other world.dm:23:error: if: undefined proc
other world.dm:25:error: if: undefined proc
other world.dm:26:error: if: undefined proc
i am not understanding these errors
You don't indent after set.