I've searched a few times and found nothing but I was looking for a script I used to use on neobot.

When a player enters my screen, his name is pm'd to my main character.

Thanks in advance