ID:176995
 
mob
RagHead
icon= 'Raghead.dmi'
mouse_over_pointer = 'target.dmi'
Click()
if(ammo >= 1)
world << "The rag head was blown to peices!"
ammo -= 1
score += 10
kills += 1
del(src)
if(usr.kills == 4)
level += 1
usr.loc=locate(1,1,2)
world << "You get to move onto the next level!"
else
..()
else
alert("You lose.. The Terroists win!")
del(usr)

I get no errors. But on the if(usr.kills == 4) part it wont work. iv'e tried doing it in a proc to and still won't work. Does it have anything to do with the kills += 1 above? Or am I just missing something.. Please help
del(src) will ALWAYS stop the execution of a proc. No matter what. Move it to the end of the proc. Since you're deleting the thing that the proc belongs to, the proc no longer exists, and thus is stopped.
In response to Garthor
It still isn't working right. The if(kills == 4) wont do anything even if the kills are 4. For some reason is just isn't responding
Rag head?

I'll be the last person to jump on the bandwagon of political correctness, unless I bring some heavy-duty explosives to take it out, but this seems to me just a bit over the top.

Lummox JR
In response to Jacob
I got it now. Stupid me didn't put usr. before kills