You've already forked SharedScripts
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:
@@ -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
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user