obj/var/Owner
obj
verb/Get()
set category = "Commands"
if(src in view(1))
if(src.Owner == usr.key)
src.loc = usr
usr << "You got the [src]!"
else
usr << "This does not belong to you!"
verb/Drop()
set category = "Commands"
set src in usr
src.loc = usr.loc
view() << "[usr] drops the [src]"
Problem description:
I want that code to make it only the owner of the obj can pick it up,
If its not the owner who trys to pick the item up, It gets a msg,
I've gotten no errors,
But it doesent work,
Im in the game.. I bring in a clone to help me..
I drop an obj, But no one can pick it up, Not even me!
Can someone tel me whats rong?
Or recode it so it will work for me..
Because i do not understand.
- Bevan
You forgot to make the Owner var to the users key when you drop it.
Hope this helps.