Sorry if this is in the wrong section :\

Anyways, can someone please make me a script that you stay in one place and pick up items and then when you log out it logs you back in. Thanks in advance.