From 9a0c57139c696feff349485ae47f45a8cf8fb9e1 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Mon, 13 Dec 2021 08:20:02 +0100 Subject: [PATCH] Update roll-a-dice.ps1 --- Docs/VoiceControl.md | 1 - Scripts/roll-a-dice.ps1 | 5 +++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Docs/VoiceControl.md b/Docs/VoiceControl.md index 4f23ed88..717791c4 100644 --- a/Docs/VoiceControl.md +++ b/Docs/VoiceControl.md @@ -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."* diff --git a/Scripts/roll-a-dice.ps1 b/Scripts/roll-a-dice.ps1 index 18a43de7..66c9831f 100644 --- a/Scripts/roll-a-dice.ps1 +++ b/Scripts/roll-a-dice.ps1 @@ -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