ID:138978
 
Code:
mob/verb
PutOverlay()
for(var/mob/Monster/M in world)
M.overlays+='Overlay.dmi'
DestroyMonster()
for(var/mob/Monster/M in world)
// if(M.overlays == 'Overlay.dmi')
if('Overlay.dmi' in M.overlays)
world<<"HE HAZ IT"
M.overlays-='Overlay.dmi'


Problem description:
How would I make it so I could check if it was in their overlays list? I tried the in operator and I dunno if I've typed it wrong or something but I can't seem to get it.
http://www.byond.com/developer/forum/?id=701215

That's a good way to add and remove overlays while giving you more control over the objects in the list :)