ID:178488
 
How would you go about checking if a player has a certain object in his or her inventory... then getting rid of it?
mob/verb/checkitem()
for(var/obj/item/T in usr)
usr << "you have a [T]"
del(T)