Add see-you-later.ps1

This commit is contained in:
Markus Fleschutz 2021-12-11 12:59:35 +01:00
parent e6e98e34ec
commit 038a32f075
2 changed files with 18 additions and 1 deletions

View File

@ -134,4 +134,4 @@ When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close
*"Computer, [farewell]."*
-------------------------
Say farewell to the computer, replace [farewell] by: `bye`, `bye-bye`, `good-bye`, `I'll be back`, `see you`.
Say farewell to the computer, replace [farewell] by: `bye`, `bye-bye`, `good-bye`, `I'll be back`, `see you`, or `see you later`.

17
Scripts/see-you-later.ps1 Normal file
View File

@ -0,0 +1,17 @@
<#
.SYNOPSIS
Answers to 'see you later'
.DESCRIPTION
This script says a reply to "see you later" by text-to-speech (TTS).
.EXAMPLE
PS> ./see-you-later
.NOTES
Author: Markus Fleschutz · License: CC0
.LINK
https://github.com/fleschutz/PowerShell
#>
$Reply = "Good bye.", "See you.", "Bye bye." | Get-Random
& "$PSScriptRoot/give-reply.ps1" "$Reply"
exit 0 # success