mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-28 15:46:35 +01:00
Add see-you-later.ps1
This commit is contained in:
parent
e6e98e34ec
commit
038a32f075
@ -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
17
Scripts/see-you-later.ps1
Normal 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
|
Loading…
Reference in New Issue
Block a user