ID:147006
 
is it possible to make the words auto maticly look like this

mob
verb
Attack(mob/M as mob in oview(1))
var/damage = usr.str - M.def
if(damage <= 0)
usr << "[M] easily dodges your attack!"
M << "You easily dodge [usr]'s attack."
else
M.hp -= damage
view() << "[usr] attacks [M] for [damage] HP!"
M:deathcheck()

instead of this?

mob
verb
Attack(mob/M as mob in oview(1))
var/damage = usr.str - M.def
if(damage <= 0)
usr << "[M] easily dodges your attack!"
M << "You easily dodge [usr]'s attack."
else
M.hp -= damage
view() << "[usr] attacks [M] for [damage] HP!"
M:deathcheck()
To put the code in auto format, use
 <dm> PUT CODE HERE <*/DM>
(remove the star of course)
In response to Plagu3r
cool thanks
If you mean automatic indentation, then no, there isn't a way to automatically indent.