ID:176676
 
How do i make it so something happens if a certain item is in your inventory. I tried:

if(/obj/mining/copper in usr)

But that doesnt work. Please help me, and Thanks in advance!
You have to use locate(). So it would be if(locate(/obj/mining/copper) in usr)
-DogMan
In response to Dog Man
thanks