Flag
icon='icon.dmi'
icon_state="fl"
name="Flag"
layer=5
Bump(var/obj/O)
if(O.name=="Flag")
for(var/mob/M in world)
world<<"[usr.key] found the flag!You have just previewed the upcoming maze challenge for our byond halo game."
M.loc=locate(5,5,1)
M.frozen=0
else
return
Stand
icon='icon.dmi'
icon_state="fl2"
name="Stand"
density=1
mob/Bump(var/obj/O)
if(usr.key)
if(O.name=="Stand")
for(var/mob/M in world)
world<<"[usr.key] found the flag!You have just previewed the upcoming maze challenge for our byond halo game."
M.loc=locate(5,5,1)
M.frozen=0
else
return
These are objs by the way.
Besides that, I'd avoid repeating your "[player] has found the flag" code over and over. You should make that a proc, like EndGame(), so all reinitialization is done there. That way you can keep it consistent.
Lummox JR