Python

Code:
#!/usr/bin/env python

if __name__ == "__main__":
    name = raw_input("Hi! What's your name? ")
    print "Hello, %s!  Welcome to Ubuntu!" % (name or "Nameless thing")