PowerShell/Scripts/come-on.ps1

17 lines
369 B
PowerShell
Raw Normal View History

2021-12-08 07:54:36 +01:00
<#
.SYNOPSIS
Replies to "Come on"
.DESCRIPTION
2022-01-29 12:47:46 +01:00
This PowerShell script replies to 'Come on' by text-to-speech (TTS).
2021-12-08 07:54:36 +01:00
.EXAMPLE
PS> ./come-on
.LINK
https://github.com/fleschutz/PowerShell
2022-01-29 12:47:46 +01:00
.NOTES
Author: Markus Fleschutz / License: CC0
2021-12-08 07:54:36 +01:00
#>
2021-12-13 09:37:45 +01:00
$Reply = "I'm sorry.", "I'm so sorry.", "Mea culpa!" | Get-Random
& "$PSScriptRoot/give-reply.ps1" "$Reply"
2021-12-08 07:54:36 +01:00
exit 0 # success