mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-21 09:28:21 +02:00
Update roll-a-dice.ps1
This commit is contained in:
parent
877cdab36e
commit
9a0c57139c
@ -135,7 +135,6 @@ When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close
|
|||||||
* *"Computer, sorry"*
|
* *"Computer, sorry"*
|
||||||
* *"Computer, tell joke."*
|
* *"Computer, tell joke."*
|
||||||
* *"Computer, tell quote."*
|
* *"Computer, tell quote."*
|
||||||
* *"Computer, switch wallpaper."*
|
|
||||||
* *"Computer, thank you."*
|
* *"Computer, thank you."*
|
||||||
|
|
||||||
|
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
https://github.com/fleschutz/PowerShell
|
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
|
exit 0 # success
|
||||||
|
Loading…
Reference in New Issue
Block a user