ID:140921
 
Code:
mob/AquaMagmaLeader/verb
MakeMagmaAquaGrunt(mob/M in world)
set category = "Administrative"
set name = "Turn Into Grunt"
switch(alert(usr,"Do you want to make [M] a grunt for [usr.Team]?","Make Grunt","Yes","No"))
if("No")
return
if("Yes")
switch(alert(M,"Do you want to be a [usr.Team] Grunt for [usr]?","Grunt","Yes","No"))
if("No")
return
if("Yes")
switch(alert(M,"Are you male or female?","Grunt","Male","female","Male Nevic And Team Rocket Depends On Team","Female Nevic And Team Rocket Depends On Team","Male Hunter Or Ranger Depends On Team","Female Hunter Or Ranger Depends On Team","Male Galactic","Female Galactic"))
if("Male")
if(usr.Team=="Aqua")
M.icon = 'person.dmi'
M.icon_state = "Aqua Grunt"
world << "[usr] has made [M] Now You Are An Aqua Grunt"
M.Team = "Aqua"
M.Rank= "Aqua Grunt"
if(usr.Team=="Magma")
M.icon = 'person.dmi'
M.icon_state = "Magma Grunt"
world << "[usr] has made [M] Now You Are An Magma Grunt"
M.Team = "Magma"
M.Rank="Magma Grunt"
if("female")
if(usr.Team=="Aqua")
M.icon = 'person.dmi'
M.icon_state = "Grunt Girl"
world << "[usr] has made [M] Now You Are An Aqua Grunt"
M.Team = "Aqua"
M.Rank="Aqua Grunt"
if(M.gender=="female")
M.icon = 'person.dmi'
M.icon_state = "Magma Gurl"
world << "[usr] has made [M] Now You Are An Magma Grunt"
M.Team = "Magma"
M.Rank="Magma Grunt"
if("Male Nevic And Team Rocket Depends On Team")
if(usr.Team=="Nevic")
M.icon = 'person.dmi'
M.icon_state = "Nevic Grunt Male"
world << "[usr] has made [M] Now You Are An Nevic Grunt!"
M.Team = "Nevic"
M.Rank= "Nevic Grunt"
if(usr.Team=="Team Rocket")
M.icon = 'person.dmi'
M.icon_state = "TR Grunt"
world << "[usr] has made [M] Now You Are An Team Rocket Grunt!"
M.Team = "Team Rocket"
M.Rank="Team Rocket Grunt"
if("Female Nevic And Team Rocket Depends On Team")
if(usr.Team=="Nevic")
M.icon = 'person.dmi'
M.icon_state = "Nevic Grunt Girl"
world << "[usr] has made [M] Now You Are An Nevic Grunt!"
M.Team = "Nevic"
M.Rank="Nevic Grunt"
if(M.gender=="female")
M.icon = 'person.dmi'
M.icon_state = "TR Grunt Girl"
world << "[usr] has made [M] Now You Are An Team Rocket Grunt!"
M.Team = "Team Rocket"
M.Rank="Team Rocket Grunt"
if("Male Hunter Or Ranger Depends On Team")
if(usr.Team=="Hunter")
M.icon = 'person.dmi'
M.icon_state = "Hunter MALE"
world << "[usr] has made [M] Now You Are An Hunter Grunt!"
M.Team = "Hunter"
M.Rank= "Nevic Grunt"
if(usr.Team=="Ranger")
M.icon = 'person.dmi'
M.icon_state = "Pokemon Ranger"
world << "[usr] has made [M] Now You Are An Ranger Grunt!"
M.Team = "Ranger"
M.Rank="Ranger Grunt"
if("Female Hunter Or Ranger Depends On Team")
if(usr.Team=="Ranger")
M.icon = 'person.dmi'
M.icon_state = "Pokemon Ranger Female"
world << "[usr] has made [M] Now You Are An Ranger Grunt!"
M.Team = "Ranger"
M.Rank="Ranger Grunt"
if(M.gender=="Hunter")
M.icon = 'person.dmi'
M.icon_state = "Hunter Grunt Female"
world << "[usr] has made [M] Now You Are An Hunter Grunt!"
M.Team = "Hunter"
M.Rank="Hunter Grunt"
if("Male Galactic")
if(usr.Team=="Galactic")
M.icon = 'person.dmi'
M.icon_state = "Galactic Grunt Male"
world << "[usr] has made [M] Now You Are An Galactic Grunt!"
M.Team = "Galactic"
M.Rank= "Galactic Grunt"
if("Female Galactic")
if(usr.Team=="Galactic")
M.icon = 'person.dmi'
M.icon_state = "Galactic Grunt Female"
world << "[usr] has made [M] Now You Are An Galactic Grunt!"
M.Team = "Galactic"
M.Rank="Galactic Grunt"
return


Problem description:Gymleader code.dm:719:inconsistent indentation.
Gymleader code.dm:720:inconsistent indentation.
Gymleader code.dm:721:inconsistent indentation.
Gymleader code.dm:722:inconsistent indentation.
Gymleader code.dm:723:inconsistent indentation.
Gymleader code.dm:724:inconsistent indentation.
Gymleader code.dm:725:inconsistent indentation.
Gymleader code.dm:726:inconsistent indentation.
Gymleader code.dm:727:inconsistent indentation.
Gymleader code.dm:728:inconsistent indentation.
Gymleader code.dm:729:inconsistent indentation.
Gymleader code.dm:730:inconsistent indentation.

Pokemon BTR.dmb - 13 errors, 0 warning's (double-click on an error to jump to it).


Your indentation is inconsistent: in some places you have tabbed once and in others you have tabbed twice. Fix it so that it is no longer the case.
mob/AquaMagmaLeader/verb
MakeMagmaAquaGrunt(mob/M in world)
set category = "Administrative"
set name = "Turn Into Grunt"
switch(alert(usr,"Do you want to make [M] a grunt for [usr.Team]?","Make Grunt","Yes","No"))
if("No")
return
if("Yes")
switch(alert(M,"Do you want to be a [usr.Team] Grunt for [usr]?","Grunt","Yes","No"))
if("No")
return
if("Yes")
switch(alert(M,"Are you male or female?","Grunt","Male","female","Male Nevic And Team Rocket Depends On Team","Female Nevic And Team Rocket Depends On Team","Male Hunter Or Ranger Depends On Team","Female Hunter Or Ranger Depends On Team","Male Galactic","Female Galactic"))
if("Male")
if(usr.Team=="Aqua")
M.icon = 'person.dmi'
M.icon_state = "Aqua Grunt"
world << "[usr] has made [M] Now You Are An Aqua Grunt"
M.Team = "Aqua"
M.Rank= "Aqua Grunt"
if(usr.Team=="Magma")
M.icon = 'person.dmi'
M.icon_state = "Magma Grunt"
world << "[usr] has made [M] Now You Are An Magma Grunt"
M.Team = "Magma"
M.Rank="Magma Grunt"
if("female")
if(usr.Team=="Aqua")
M.icon = 'person.dmi'
M.icon_state = "Grunt Girl"
world << "[usr] has made [M] Now You Are An Aqua Grunt"
M.Team = "Aqua"
M.Rank="Aqua Grunt"
if(M.gender=="female")
M.icon = 'person.dmi'
M.icon_state = "Magma Gurl"
world << "[usr] has made [M] Now You Are An Magma Grunt"
M.Team = "Magma"
M.Rank="Magma Grunt"
if("Male Nevic And Team Rocket Depends On Team")
if(usr.Team=="Nevic")
M.icon = 'person.dmi'
M.icon_state = "Nevic Grunt Male"
world << "[usr] has made [M] Now You Are An Nevic Grunt!"
M.Team = "Nevic"
M.Rank= "Nevic Grunt"
if(usr.Team=="Team Rocket")
M.icon = 'person.dmi'
M.icon_state = "TR Grunt"
world << "[usr] has made [M] Now You Are An Team Rocket Grunt!"
M.Team = "Team Rocket"
M.Rank="Team Rocket Grunt"
if("Female Nevic And Team Rocket Depends On Team")
if(usr.Team=="Nevic")
M.icon = 'person.dmi'
M.icon_state = "Nevic Grunt Girl"
world << "[usr] has made [M] Now You Are An Nevic Grunt!"
M.Team = "Nevic"
M.Rank="Nevic Grunt"
if(M.gender=="female")
M.icon = 'person.dmi'
M.icon_state = "TR Grunt Girl"
world << "[usr] has made [M] Now You Are An Team Rocket Grunt!"
M.Team = "Team Rocket"
M.Rank="Team Rocket Grunt"
if("Male Hunter Or Ranger Depends On Team")
if(usr.Team=="Hunter")
M.icon = 'person.dmi'
M.icon_state = "Hunter MALE"
world << "[usr] has made [M] Now You Are An Hunter Grunt!"
M.Team = "Hunter"
M.Rank= "Nevic Grunt"
if(usr.Team=="Ranger")
M.icon = 'person.dmi'
M.icon_state = "Pokemon Ranger"
world << "[usr] has made [M] Now You Are An Ranger Grunt!"
M.Team = "Ranger"
M.Rank="Ranger Grunt"
if("Female Hunter Or Ranger Depends On Team")
if(usr.Team=="Ranger")
M.icon = 'person.dmi'
M.icon_state = "Pokemon Ranger Female"
world << "[usr] has made [M] Now You Are An Ranger Grunt!"
M.Team = "Ranger"
M.Rank="Ranger Grunt"
if(M.gender=="Hunter")
M.icon = 'person.dmi'
M.icon_state = "Hunter Grunt Female"
world << "[usr] has made [M] Now You Are An Hunter Grunt!"
M.Team = "Hunter"
M.Rank="Hunter Grunt"
if("Male Galactic")
if(usr.Team=="Galactic")
M.icon = 'person.dmi'
M.icon_state = "Galactic Grunt Male"
world << "[usr] has made [M] Now You Are An Galactic Grunt!"
M.Team = "Galactic"
M.Rank= "Galactic Grunt"
if("Female Galactic")
if(usr.Team=="Galactic")
M.icon = 'person.dmi'
M.icon_state = "Galactic Grunt Female"
world << "[usr] has made [M] Now You Are An Galactic Grunt!"
M.Team = "Galactic"
M.Rank="Galactic Grunt"
return
In response to Garthor
ok thanks im gonna try it now
In response to ArcaneDragonX
Dude, that's even worse than before.