Update roll-a-dice.ps1

This commit is contained in:
Markus Fleschutz 2021-12-13 08:20:02 +01:00
parent 877cdab36e
commit 9a0c57139c
2 changed files with 3 additions and 3 deletions

View File

@ -135,7 +135,6 @@ When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close
* *"Computer, sorry"*
* *"Computer, tell joke."*
* *"Computer, tell quote."*
* *"Computer, switch wallpaper."*
* *"Computer, thank you."*

View File

@ -11,7 +11,8 @@
https://github.com/fleschutz/PowerShell
#>
$Reply = "One.", "Two.", "Three.", "Four.", "Five.", "Six." | Get-Random
$Reply = "It's", "I get", "Now it's", "OK, I have" | Get-Random
$Number = "1", "2", "3", "4", "5", "6" | Get-Random
& "$PSScriptRoot/give-reply.ps1" "$Reply"
& "$PSScriptRoot/give-reply.ps1" "$Reply $Number."
exit 0 # success