Hello and Happy New Year.
This script post quotes from quoteland.com to channel and save them to txt file, so you can search quotes with keywords and use this script when website down or bot didnt have internet connection.
# Random quote.
<tvrsh> !ql
<@bionic> 109::Mankind, Man:: My skull, my eyes, my nose three times, my jaw, my shoulder, my chest, two fingers, a knee, everything from the top of my head to the bottom of my feet. Listing what body parts he has broken
<@bionic> Jackie Chan
# Search with keyword 'love'.
<tvrsh> !ql love
<@bionic> 5/6::Music:: Mozart has the classic purity of light and the blue ocean; Beethoven the romantic grandeur which belongs to the storms of air and sea, and while the soul of Mozart seems to dwell on the ethereal peaks of Olympus, that of Beethoven climbs shuddering the storm-beaten sides of a Sinai. Blessed be they both! Each represents a moment of the ideal life, each does us good. Our love is due to both.
<@bionic> Henri Frederic Amiel
I was wondering would it be possible for the out put to look like this to where the authors name is on the same line as the quote:
# Random quote.
<tvrsh> !ql
<@bionic> 109 :: Mankind, Man :: My skull, my eyes, my nose three times, my jaw, my shoulder, my chest, two fingers, a knee, everything from the top of my head to the bottom of my feet. Listing what body parts he has broken. Author: Jackie Chan
Edit: I read the code further and found the third spot that the code had to be changed.
Edit 2: After changing the the third spot !gl worked fine however !ql <keyword> gives a error. So I just reloaded the original and changed line #150 to: