Giving a Object to a Certain Player.

I Been Gone awhile and need some Assistance, can anyone tell me how would I, Give a Object to a Certain Player in a Multiplayer Game?, and make it so the Object is taken away from them when they Log off?

I Use to know but forgot the coding on how to.

Thank you

Write a command that checks if the recipient is another player (has property netplayer) and if so move the object to their inventory (room "player1" for the player with userid 1). For taking the object away, put a drop or move command the disconnect script.

The 'give' command comes in the questnet lib thingy. And to take everything away when they log off:
disconnect {
for each object in <player%userid%> move <#quest.thing#; storeroom> }
There you go, easy!