mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-11 05:43:53 +02:00
Add use of give-reply.ps1
This commit is contained in:
@ -16,8 +16,7 @@
|
||||
param([string]$abbreviation = "")
|
||||
|
||||
function Reply { param([string]$Text)
|
||||
"$Text"
|
||||
& "$PSScriptRoot/speak-english.ps1" "$Text"
|
||||
& "$PSScriptRoot/give-reply.ps1" "$Text"
|
||||
}
|
||||
|
||||
try {
|
||||
@ -31,7 +30,7 @@ try {
|
||||
foreach($Row in $Table) {
|
||||
if ($Row.Abbreviation -eq $abbreviation) {
|
||||
$Basename = (get-item "$File").Basename
|
||||
Reply " - $($Row.Definition) ($($Row.Abbreviation)) in $Basename"
|
||||
Reply "$($Row.Definition) ($($Row.Abbreviation)) in $Basename"
|
||||
$FoundOne = $true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user