Dark Signs J forum

Full Version: Fun Scripts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Sagen Sie vor, wen kann ich fragen?
What exactly is the question here?
Es ist die ausgezeichnete Variante