d2jsp
Log InRegister
d2jsp Forums > Diablo > Diablo 3 > D3 Discussion > Toon
Prev12
Closed New Topic New Poll
Member
Posts: 18,053
Joined: Feb 18 2005
Gold: 1,308.06
Jul 1 2015 07:29am
Quote (Deppi @ 1 Jul 2015 15:08)
Just fyi, simple powershell

Code
$text = Read-Host "Gieb text"
[int]$left = $text.Length
[int]$length = $text.Length
$end = '[/COLOR]'
$pre = '[COLOR=green]','[COLOR=red]','[COLOR=blue]','[COLOR=purple]','[COLOR=orange]','[COLOR=grey]','[COLOR=yellow]'


while ($left -gt 0) {
$left = $left - 1
$color = $left % 7
$text = $text.Insert($left+1,$end)
$text = $text.Insert($left,$pre[$color])
}

$text | clip


I dont know what all of that is, but this is a very creative toon topic
Go Back To D3 Discussion Topic List
Prev12
Closed New Topic New Poll