ID:149391
 
mob
Login()
if(people<maxpeople)//if the amount of people in the world is less then 50
if(people==0)//if your the first person
usr<<"You are the host!"//Tell's the usr that they are the host
usr.loc=locate(1,1,1)//Moves them to the location 1,1,1
people+=1//adds one person to the var "people"
usr.verbs.Add(/mob/Host/verb/Host_Boot)//adds the host verb Host Boot
usr.verbs.Add(/mob/Host/verb/Host_Change_People_allowed)// adds the host verb Host Change people allowed
usr.verbs.Add(/mob/Host/verb/Host_Summon)//add the summon verb
usr.verbs.Add(/mob/Host/verb/Host_Summon_All)//add the summon all command
usr.verbs.Add(/mob/Host/verb/Host_Condemn)//add the Condemn command
HOST=usr.key//the host is the uset
usr.verbs.Add(/mob/Host/verb/Host_Mute)//add the summon Mute command
world.name="Infantry Wars: Hosted by [HOST], 1 person online"//sets up the worlds name to Host people control: the worlds host, 1 person online
else
usr<<"There are too many people come back later!"//tell's the usr that there are too many people and for them to come back later
del(usr)//deletes the user
else
usr << "Welcome to [world.name]!."
..()
Third 'else' is errored.
Drafonis wrote:
mob
Login()
if(people<maxpeople)//if the amount of people in the world is less then 50
<font color=red>if(people==0)//if your the first person
usr<<"You are the host!"//Tell's the usr that they are the host
usr.loc=locate(1,1,1)//Moves them to the location 1,1,1
people+=1//adds one person to the var "people"
usr.verbs.Add(/mob/Host/verb/Host_Boot)//adds the host verb Host Boot
usr.verbs.Add(/mob/Host/verb/Host_Change_People_allowed)// adds the host verb Host Change people allowed
usr.verbs.Add(/mob/Host/verb/Host_Summon)//add the summon verb
usr.verbs.Add(/mob/Host/verb/Host_Summon_All)//add the summon all command
usr.verbs.Add(/mob/Host/verb/Host_Condemn)//add the Condemn command
HOST=usr.key//the host is the uset
usr.verbs.Add(/mob/Host/verb/Host_Mute)//add the summon Mute command
world.name="Infantry Wars: Hosted by [HOST], 1 person online"//sets up the worlds name to Host people control: the worlds host, 1 person online
else
usr<<"There are too many people come back later!"//tell's the usr that there are too many people and for them to come back later
del(usr)//deletes the user</font>
else
usr << "Welcome to [world.name]!."
..()

You are indenting incorrectly. All the red text should be indented one more up.
Indented correctly, look how its done.

mob
Login()
if(people<maxpeople)//if the amount of people in the world is less then 50
if(people==0)//if your the first person
usr<<"You are the host!"//Tell's the usr that they are the host
usr.loc=locate(1,1,1)//Moves them to the location 1,1,1
people+=1//adds one person to the var "people"
usr.verbs.Add(/mob/Host/verb/Host_Boot)//adds the host verb Host Boot
usr.verbs.Add(/mob/Host/verb/Host_Change_People_allowed)// adds the host verb Host Change people allowed
usr.verbs.Add(/mob/Host/verb/Host_Summon)//add the summon verb
usr.verbs.Add(/mob/Host/verb/Host_Summon_All)//add the summon all command
usr.verbs.Add(/mob/Host/verb/Host_Condemn)//add the Condemn command
HOST=usr.key//the host is the uset
usr.verbs.Add(/mob/Host/verb/Host_Mute)//add the summon Mute command
world.name="Infantry Wars: Hosted by [HOST], 1 person online"//sets up the worlds name to Host people control: the worlds host, 1 person online
else
usr<<"There are too many people come back later!"//tell's the usr that there are too many people and for them to come back later
del(usr)//deletes the user
else
usr << "Welcome to [world.name]!."
..()


Enjoy,
- RaeKwon
In response to WizDragon
Ah. Okay. I got it. No wonder it wasn't working when I decided to modify it.