First off, you can get rid of the constants. For instance, here is a devious way to set $| equal to 8:
Sure, its not great for golfs, but if obfu is your goal, this can certainly make someone spend a good portion of their lunch hour just figuring out the first statement. By that same token, you can change this:$|=chr(ord(substr("\cX\c9",-1))-(1<<6^2));++$|;
to this:print" "x($s+$|*8),"\r"
Not the greatest golf in the world, but hey, its sexy :)print" "x($s+((($|^($|<<($=<<($|<<$|))))>>($=/($|<<$|<<$|)))<<$|<<$|)) +,"\r"
Other than that, the program looks good. It scrolls too fast on my computer no matter how much I up the increment, but I can still see that it works. Nice job.
In reply to Re: Message scroller in a .signature
by jryan
in thread Message scroller in a .signature
by jj808
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |