It's all over-engineered and difficult to read
try:
new HTTPobject(star fish).get("iheartquotes.com:80", "/api/v1/random", "max_lines=1");// Creates the HTTPObject and requests the quote page
function star fish::onLine(%this, %line) // This is called when the HTTPObject receives a line of content from the page
{
if(%line $= "") // Check if the line is blank
return; // Stop there
%fw = getSubStr(%line, 0, 1);
if(%fw $= "[") // Check if the first character in the line is a [, This ignores the other line
return;
echo(%line); // Will be the quote
}