Author Topic: ULX Fortune -- Print a random, hopefully interesting, adage  (Read 1034 times)

0 Members and 1 Guest are viewing this topic.

Offline Timmy

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 164
  • Karma: 136
  • Code monkey
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 for the original release!

Download
ulx-fortune.zip

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
« Last Edit: August 27, 2017, 12:40:55 AM by Timmy »
hello@timmy.ws (PGP key) • Steam • GitHub

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 723
  • Karma: 114
  • :)
    • My Homepage
Re: ULX Fortune -- Print a random, hopefully interesting, adage
« Reply #1 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 |
                ||     ||
bw81@ulysses-forums ~ % whoami
Homepage

Offline Timmy

  • Respected Community Member
  • Full Member
  • *****
  • Posts: 164
  • Karma: 136
  • Code monkey
Re: ULX Fortune -- Print a random, hopefully interesting, adage
« Reply #2 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  | \ \ |
    |     <    |  \ \|
   /|          |   \ \
  / |  \_____/ |   / /
 / /|          |  / /|
/||\|          | /||\/
    -------------|   
        | |    | |
       <__/    \__>
hello@timmy.ws (PGP key) • Steam • GitHub

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1258
  • Karma: 164
  • open(my $file, "<README") or die;
    • XGUI
Re: ULX Fortune -- Print a random, hopefully interesting, adage
« Reply #3 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)
« Last Edit: June 04, 2017, 11:23:20 PM by Stickly Man! »
"The stupidity of an individual on the Internet is generally matched only the by size of their ego, unless the individual in question is unaware of both." - Me