1
0
mirror of https://github.com/jaapbrasser/SharedScripts.git synced 2025-12-24 21:51:38 +02:00

Tested and verified working

This commit is contained in:
Jaap Brasser
2019-09-20 09:24:59 +05:30
parent f39536b2b8
commit 140cbb443b

View File

@@ -1,6 +1,21 @@
function Write-Emoticon {
param(
$NumberOfEmoticons
)
}
while(1){Write-Host "$(129408..129431|get-Random|%{[char]::convertfromutf32($_)}) " -NoNewLine -ForegroundColor (1..15|Get-Random);start-sleep -Milliseconds 50}
[int] $Times
)
if ($Times) {
1..$Times | ForEach-Object {
Write-Host "$(129408..129431 | Get-Random | ForEach-Object {
[char]::convertfromutf32($_)}) " -NoNewLine -ForegroundColor (1..15|Get-Random)
Start-Sleep -Milliseconds 50
}
} else {
# Keep on going forever
while(1) {
Write-Host "$(129408..129431 | Get-Random | ForEach-Object {
[char]::convertfromutf32($_)}) " -NoNewLine -ForegroundColor (1..15|Get-Random)
Start-Sleep -Milliseconds 50
}
}
}