Here is an excerpt from my login script that will help with the greeting messages etc.:

if @time > 18:00:00
?"Good Evening @fullname."
else
if @time < 12:00:00
?"Good Morning @fullname."
else
?"Good Afternoon @fullname."
endif
endif

?"Here is some information about your session:"
?
?
?"Today is: @day @month @mdayno, @year"
?"The current server time is: @time."
?"Your current Privalege is: @priv."
?"Station Identification: @sid."
?"Your current userid is: @userid."
?"Current Computer Name: @wksta."
?"Your full name is: @fullname."
?"Login Domain is: @domain."
?"The Server you logged into: @lserver."
?"Intranet Name is: @hostname."
?"Your IP Address is: @ipaddress0."
?
?"@ydayno days have passed this year."
$daysleft = 365 - @ydayno
$newyear = 1 + @year
?"$daysleft days left until $newyear"
sleep 10

Hope this helps!!

------------------
Gus Dalinis
Systems Analyst

_________________________
Gus Dalinis Systems Analyst