mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-14 03:54:46 +01:00
Add see-you.ps1
This commit is contained in:
parent
0f3f7f74b2
commit
4e41f16a8e
@ -125,3 +125,4 @@ Computer, check `name`
|
||||
* *Computer, I'll be back.*
|
||||
* *Computer, good bye.*
|
||||
* *Computer, bye-bye.*
|
||||
* *Computer, see you.*
|
||||
|
18
Scripts/see-you.ps1
Normal file
18
Scripts/see-you.ps1
Normal file
@ -0,0 +1,18 @@
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Answers to 'see you'
|
||||
.DESCRIPTION
|
||||
This script says a reply to "see you" by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./see-you
|
||||
.NOTES
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
#>
|
||||
|
||||
$Reply = "Good bye.", "See you.", "Bye bye." | Get-Random
|
||||
|
||||
"$Reply"
|
||||
& "$PSScriptRoot/speak-english.ps1" "$Reply"
|
||||
exit 0 # success
|
Loading…
Reference in New Issue
Block a user