ID:171532
 
Gah.....i've been playing around with it and i'm guessing its indetation but if i move it to the left a lil i get like 39 errors.I also tried making a proc and nothing better comes out of it.
mob
Soldier
icon='icon.dmi'
icon_state="sol"
density=1
Click()
if(click==1)
return
else
click==1
team = rgb(0,0,255)
world <<"[usr.key] has joined the fight as a Soldier"

Oh and can someone give me the link to the indenting dm guide thing?
Indent everything after else one more time.
In response to DeathAwaitsU
could that be used so if the mob presses space or just presses nothing...cuz thats also another type of spam..
Everything under else should be indented, but you really don't need the else anyway. Since your if() block does a return statement, anything that executes afterward would only happen if the if() was false in the first place. So you can just take out the else, and all is well.

Lummox JR