villchoose
name="????"
village="????"
level=87
icon='NPCs.dmi'
icon_state="????"
clan="Uchiha"
rank="????"
verb
Talk()
set src in oview(3)
if(usr.intut==19)
// alert(usr,"???: You can now pick your village..")
switch(alert("???: Anyways. Lets get started.", text) in list ("Leaf","Sand","Sound","Cloud"))
// if("Yes")
// switch(alert("???: Are you sure you want to skip the tutorial?",text) in list ("Leaf","Sand","Sound","Cloud"))
return
if("Leaf")
usr.village = "Leaf"
if("Sand")
usr.village = "Sand"
if("Sound")
usr.village = "Sound"
if("Cloud")
usr.village = "Cloud"
else
Problem description:
I don't really know how to make list coding work, I've never tried it and this is my first attempt and it's giving me all these errors and warinings.
input() is the proc that can show a list of choices.
Neither of them require a switch() statement to work.
The code you posted is a nonsensical mess.