i've been trying to search to a auto-greeter but either the script doesn't come with options to set the greeter or the script doesn't even work.

what is the code for a simple auto-greeter?