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?
ID:171532
Sep 11 2004, 4:41 am
|
|
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 Oh and can someone give me the link to the indenting dm guide thing? |
Sep 11 2004, 4:45 am (Edited on Sep 11 2004, 5:16 am)
|
|
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 |