Ulysses

Ulysses Stuff => Releases => Topic started by: Timmy on May 29, 2017, 01:32:03 PM

Title: ULX Fortune -- Print a random, hopefully interesting, adage
Post by: Timmy on May 29, 2017, 01:32:03 PM
I delved into the Ulysses Release Archives to find some awesome releases that I could give a second life! One of them is the fortune command. It spoke to me because of how simple yet fun it is. :)

ULX Fortune

Print a random, hopefully interesting, adage.

Credits
Thanks to lavacano201014 (https://forums.ulyssesmod.net/index.php?action=profile;u=1663) for the original release (https://forums.ulyssesmod.net/index.php/topic,4477.0.html)!

Download
ulx-fortune.zip (https://forums.ulyssesmod.net/index.php?action=dlattach;topic=10378.0;attach=2044)

Installation
Extract the downloaded zip archive into your addons folder.

Usage
Code: [Select]
Category: Fun
o ulx fortune - Print a random, hopefully interesting, adage. (say: !fortune)

Preview
(https://timmy.github.io/images/ulx-fortune-animation.gif)
Title: Re: ULX Fortune -- Print a random, hopefully interesting, adage
Post by: Bytewave on June 02, 2017, 06:15:14 PM
Can we get a cowsay port as well, along with command piping? ;)

Code: [Select]
bytewave @ ponypwnage in ~ [20:15:54]
$ fortune | cowsay
 _____________________________________
< Save energy: Drive a smaller shell. >
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
Title: Re: ULX Fortune -- Print a random, hopefully interesting, adage
Post by: Timmy on June 03, 2017, 01:42:32 AM
Code: [Select]
$ echo $MSG | cowsay -f milk
_____________________________________
/ Haha, who knows! I’m a big fan of \
\ ASCII art… :)                     /
 -------------------------------------
 \     ____________
  \    |__________|
      /           /\
     /           /  \
    /___________/___/|
    |          |     |
    |  ==\ /== |     |
    |   O   O  | \ \ |
    |     <    |  \ \|
   /|          |   \ \
  / |  \_____/ |   / /
 / /|          |  / /|
/||\|          | /||\/
    -------------|   
        | |    | |
       <__/    \__>
Title: Re: ULX Fortune -- Print a random, hopefully interesting, adage
Post by: Stickly Man! on June 04, 2017, 11:21:41 PM
Nah man, sl is where it's at!  ;D (Although may be a tall order to work with our purposes here)
Code: [Select]
https://man.cx/sl(6)