ID:143246
 
Code:mob
Login()
switch (input("Gender") in list("Male", "Female"))
if("Male")
icon = 'Male.dmi'
icon_state = "Blank"
usr << "Welcome to Rexen!!"
usr << 'Together_We_Ride.mp3'
Class()
..()

if("Female")
icon = 'Female.dmi'
icon_state = "Blank"
usr << "Welcome to Rexen!!"
usr << 'Together_We_Ride.mp3'
Class()
..()


proc/Class()
switch (input("What Class?") in list("Warrior", "Mage", "Thief",))
if("Warrior")
icon_state = "Warrior"
usr.level = 1
usr.HP = 30
usr.MaxHP = 30
usr.MP = 5
usr.MaxMP = 5
usr.EXP = 0
usr.MaxEXP = 10
usr.strength = 5
usr.defence = 5
usr.Class = 1
usr.loc = locate(50,50,1)

if("Mage")
icon_state = "Mage"
usr.level = 1
usr.HP = 15
usr.MaxHP = 15
usr.MP = 20
usr.MaxMP = 20
usr.EXP = 0
usr.MaxEXP = 10
usr.strength =2
usr.defence = 3
usr.Class = 2
usr.loc = locate(50,50,1)

if ("Thief")
icon_state = "Thief"
usr.level = 1
usr.HP = 25
usr.MaxHP = 25
usr.MP = 10
usr.MaxMP = 10
usr.EXP = 0
usr.MaxEXP = 10
usr.strength = 4
usr.defence = 3
usr.Class = 3
usr.loc = locate(50,50,1)

Wonder.dm:5: Inconsistent indentation.
Wonder.dm:6: Inconsistent indentation.

Wonder.dmb - 6 errors, 0 warnings (double-click on an error to jump to it)


Problem description:ok, there are more than it shows, the errors its not showing (the last time I saw them) was saying that Icon state was an undefined var I think, there were only 3 though, I made 2 icons, Male.dmi and Female.dmi, each with 3 Icon states, Warrior, Mage, and Thief, however its messed up.

put mob before that proc/Class() it should work then also change all those usr to src as well as put src before icon and icon_state
In response to Monkeykid0049
Thanks man, >.<
In response to PheonixReborn
Just keep in mind that if you don't put anything for icon, icon_state, or anything else, it is src by default.