ID:266606
 
Ok,I want it so they can't get the same obj,like a sword,they can't get the sword twice,how would I do that without making a var?Thanks for reading.

-Kappa the Imp
I know how you can check:
obj/m // you dont need to create this. This is the obj you are seeing if they have

var/obj/z
for(z in usr.contents)
if(m == z)
usr << "already have [z]"
break
Kappa the Imp wrote:
Ok,I want it so they can't get the same obj,like a sword,they can't get the sword twice,how would I do that without making a var?Thanks for reading.

-Kappa the Imp

if you use set src in oview(1) for your get verb, the verb will not be available after it moves to your mob's contents.
In response to Skysaw
oh I saw it as like

having one of each type of item
In response to Winbiko
Winbiko wrote:
oh I saw it as like

having one of each type of item

You're probably right. It was a little hard to decipher.