mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-06-17 10:26:49 +02: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, I'll be back.*
|
||||||
* *Computer, good bye.*
|
* *Computer, good bye.*
|
||||||
* *Computer, bye-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…
x
Reference in New Issue
Block a user