How do I do the code so that when a person clicks on an item like a Potion if its source is on the floor it picks it up but if its source is in the users contents it drops it.
Ive tried this but I cant seem to make it work properly.
Copyright © 2025 BYOND Software.
All rights reserved.
potion
Click()
set src in oview(1)
src.loc = usr
usr << "You get /a [src]."
for problem 2 i don't know what to say.