ID:1133793
 
(See the best response by Liam Howe.)
Code: I don't understand what seems to be the problem. It just says that, and I'm trying to learn how to code. Someone answer my question and I will try my best to comprehend it.
switch(input("Who will you goto war with?", text)in list("Leaf","Mist","Cloud","Rock","Sand","Sound","Snow","Waterfall","Rain","Grass","Star","Dark","Sun","AKAT","SO","Thuner","Hebi","Blood Village"))
if("Leaf")
world<<"<font color=blue><font size = 5><b>Leaf is gathering to defend."
for(var/mob/E in world)
if(E&&E.Village=="Leaf"&&E.war==1)
if(usr.jailed==1)
return
switch(input(E,"Join your village war?", text) in list ("Yes","No"))
if("Yes")
E.inthewar=1
E.loc=locate(98,20,17)
E.PK=1
E.inwar2=1
(E) << sound(null)
E<<'Go go go Naruto.mid'
if("No")
E<<"Coward"


Problem description:

I suggest 2 things here:

1. The odds of you writing this yourself are slim. Don't use poorly coded rips to learn from. You will never learn that way.

2. Read the references, guides and tutorials that you can find on nearly any page here.


Do yourself a favor and drop the ripped source you are working with in the recycle bin and learn the right way.
Best response
Looks like everything after the first line needed "tabbed back" once.