ULX

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

0 Members and 1 Guest are viewing this topic.

Offline Timmy

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: 168
  • 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: May 31, 2018, 02:17:30 AM by Timmy »

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • 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

  • Ulysses Team Member
  • Sr. Member
  • *****
  • Posts: 252
  • Karma: 168
  • 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  | \ \ |
    |     <    |  \ \|
   /|          |   \ \
  / |  \_____/ |   / /
 / /|          |  / /|
/||\|          | /||\/
    -------------|   
        | |    | |
       <__/    \__>

Offline Stickly Man!

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 1270
  • Karma: 164
  • What even IS software anymore?
    • 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! »
Join our Team Ulysses community discord! https://discord.gg/gR4Uye6