ID:859085
 
(See the best response by Jittai.)
Code:
obj/verb/Get()
set src in oview(1)
usr.contents+=src
view()<<"[usr] picks up [src]."
del src

obj/verb/Drop()
new/obj(usr.loc)
view()<<"[usr] drops [src]."
del src

obj/overlays
Shirt
icon='Sword.dmi'
icon_state="shirt"
Get()
Drop()


Problem description:

The verb shows up in the commands tab and if i right click the obj, but it doesn't put it in my contents
That's because you are deleting the object, which removes it from the contents.

obj/verb/Get()
set src in oview(1)
loc = usr
view() << "[usr] picks up [src]."
Best response
You shouldn't delete objects at all if you're just moving their locations.

obj/verb/Drop()
src.loc = usr.loc
view()<<"[usr] drops [src]."


Also you don't need to add the Get() and Drop() under the Shirt. You set those verbs are for all objects - you'd only add those if you wanted a specific thing to happen when you drop/pick up a shirt.
In response to Jittai (#2)
What he did there was override the verbs so they did nothing. I'm not sure if that was intentional, but considering his shirt is in his sword icon, I wouldn't assume anything.