Dark Signs J forum
Fun Scripts - Printable Version

+- Dark Signs J forum (https://darksigns.pf-control.de/forum)
+-- Forum: DarkSignsJ (https://darksigns.pf-control.de/forum/Forum-DarkSignsJ)
+--- Forum: Dark Script (https://darksigns.pf-control.de/forum/Forum-Dark-Script)
+--- Thread: Fun Scripts (/Thread-Fun-Scripts)



Fun Scripts - flederohr - 03-17-2020

Here is a Script that changes the Background color in the console
Exclamation epilepsy Warning Exclamation
Code:
var r,g,b

!r=0
!g=0
!b=0

while true do

while r<0xFF and g<0xFF and b<0xFF  do
bgcolor %r% %g% %b%
say bgcolor %r% %g% %b%
!r=r + 1
if r>0xFF
!r=0
endif
!g=g + 2
if g>0xFF
!g=0
endif
!b=b + 3
if b>0xFF
!b=0
endif
done
while r>0 and g>0 and b>0 do
bgcolor %r% %g% %b%
say bgcolor %r% %g% %b%
!r=r - 2
if r<0
!r=0xFF
endif
!g=g - 1
if g<0
!g=0xFF
endif
!b=b - 3
if b<0
!b=0xFF
endif
done
done

free r,g,b



- - DruppyPlurn - 07-16-2021

Sagen Sie vor, wen kann ich fragen?


RE: Fun Scripts - flederohr - 07-23-2021

What exactly is the question here?


- - Loramooth - 04-15-2022

Es ist die ausgezeichnete Variante