Hi,
just for fun, this is a shorter version of your greeting script.
property weekdayGreetings : {{"Happy Sunday", "Welcome to Sunday Funday", "Today is Sunday bloody Sunday", "I hope you are enjoying your Sunday", "It is Sunday"}, {"Happy Monday!", "It is Monday", "Today is Monday", "Sorry to be the bearer of bad news, but, it is Monday again"}, {"Happy Tuesday!", "It's Taco Tuesday!", "Today is Tuesday"}, {"Happy Wednesday!", "Happy Hump day. The humpty dance is your chance, to do the hump...", "It is Wednesday", "Happy Hump day"}, {"It is Thirsty Thursday!", "Happy Thurday!", "Happy Friday-Eve", "Today is Thursday"}, {"Happy Friday!", " You are all most there, tomorrow's the weekend", "One day to go, tomorrow is Saturday", "It is Friday", "It is Friday"}, {"Happy Saturday", "Huzzuh today is Saturday", "It is Saturday", "I hope you have Great Saturday"}} -- edited according to Nigel's note
property oldrandnum : missing value
--user name
set userName to long user name of (system info)
-- Time of Day
tell (current date) to set {the_hours, currentWeekday} to {its hours, its weekday as integer} -- edited according to Nigel's note
if the_hours is less than 8 then
set greeting to randomizerGreeting()
say "Good Morning," & greeting
else if the_hours is less than 12 then
say "Good Morning" & userName
else if the_hours is less than 17 then
say "Good Afternoon" & userName
else
say "Good Evening" & userName
end if
set currentday to some item of item currentWeekday of weekdayGreetings
delay 0.3
say currentday
delay 0.3
say "the time right now is " & (do shell script "date +%l' '%M' '%p")
on randomizerGreeting()
set greetings to {"It's time to wake up!", "Rise and Shine!", "Snoozle doozle!", "Sleepy Head!", "Carpe Diem, seize the day!", "Tiger!"}
set countgreetings to length of greetings
repeat
set randnum to random number from 1 to countgreetings
if oldrandnum is missing value or (randnum ≠oldrandnum) or (countgreetings = 1) then
set oldrandnum to randnum
exit repeat
end if
end repeat
return item randnum of greetings
end randomizerGreeting