ID:264471
 
Code:
mob
Stat()
statpanel("Stats")
stat(src)
stat("")
stat("[src.name]","[title]")
stat("")
stat("Health:","[HP]/[maxhp]")
stat("Powerlevel: ","[powerlevel]")
stat("BasePowerlevel: ","[basepowerlevel]")
------------------------------------
stat("Ki","[ki]")
stat("Maxki","[maxki]")
stat("Stamina: ","[stamina]%")
------------------------------------


Problem description:
is there anything wrong with this? It gives me all kinds of error when i put the lines in it.
b.dm:57:error:-- :duplicate definition
Mob.dm:58:error:"Ki":duplicate definition
Mob.dm:58:error:ki:value not allowed here
Mob.dm:58:error::empty type name (indentation error?)
Mob.dm:58:error:text "[]":value not allowed here
Mob.dm:58:error::duplicate definition
Mob.dm:58:error:stat :duplicate definition
Mob.dm:59:error:"Maxki":duplicate definition
Mob.dm:59:error:maxki:value not allowed here
Mob.dm:59:error::empty type name (indentation error?)


Yes. Those lines.
In response to Garthor
wat should i do, i want my stats to be spaced out
mob
Stat()
statpanel("Stats")
stat(src)
stat("")
stat("[src.name]","[title]")
stat("")
stat("Health:","[HP]/[maxhp]")
stat("Powerlevel: ","[powerlevel]")
stat("BasePowerlevel: ","[basepowerlevel]")
stat("")
stat("Ki","[ki]")
stat("Maxki","[maxki]")
stat("Stamina: ","[stamina]%")
stat("")
stat("EP: ","[experience]")
stat("Level: ","[level]")
stat("")
stat("Zenni:", "[zenni]")
stat("Kills:", "[kills]")
stat("Deaths:", "[deaths]")
stat("")
stat("Player Location:", "[x],[y]")
stat("Current Quest Location: ", "[currentquestloc]")
statpanel("Inventory")
stat(contents)
<dm>

now i am geting
Mob.dm:65:error: bad argument definition
Mob.dm:65:error: bad argument definition
i have already fixed dat
My desire to put effort into helping people is directly related to how much effort they have put into helping themselves.

This person has obviously gotten the source and thinks he can throw random crap at it and call it "his game". He puts no effort into actually learning anything and, therefore, I put no effort into helping him.

I guess I should've also linked the guide or some tutorials or other helpful resources, and told him to read them. But I guess I'm just too cynical for that.
In response to Garthor
WOOWOOW , dude i totally code this all on my own , i just saw how other games did thier and wanted to do the same. PLZ if u dont want to help dont post!
stat("Level: ","[level]") ITS this line
omg i get the error now, wow i did not put the ------- in stat(). opps..