Bash Quote Socket

By napa182 on Jun 16, 2011

This is a random Bash quote look up or look up by quote number socket.

Copy/Paste into a new remote of your bot, or you can place it into a new remote your own mIRC client.

Some of the quotes do contain foul language. So use in a room where you will not get banned for the use of foul language.

[b]Have fun with it, and like always go ahead an rip, trash, or set fire to this snippet any way you see fit.
I don't care.[/b]

Trigger is @bash or @bash

Example:

@bash <~Sick0> Looking Up :[Bash Quote #841]: Please wait... <~Sick0> :[BASH]: zophar was a trend <~Sick0> :[BASH]: it was hip to be with zophar <~Sick0> :[BASH]: till we all realized how gay he is
@bash 842 <~Sick0> :[Bash Quote #842 does not exist.]: @bash 1578 <~Sick0> Looking Up :[Bash Quote #1578]: Please wait... <~Sick0> :[BASH]: we had a guy at school that wore black lipstick.. and was all gothy.. and then one day we caught him buying an assvibrator <~Sick0> :[BASH]: ew. <~Sick0> :[BASH]: wait, you "caught" him? <~Sick0> :[BASH]: like, you were behind him in line at the assvibrator store? <~Sick0> :[BASH]: he doesnt answer <~Sick0> :[BASH]: *** Quits: calin (No route to host) <~Sick0> @bash <~Sick0> Looking Up :[Bash Quote #181]: Please wait... <~Sick0> :[BASH]: (topanga) I HATE HAVING COMPUTER DREAMS. <~Sick0> @bash 382 <~Sick0> Looking Up :[Bash Quote #382]: Please wait... <~Sick0> :[BASH]: does anyone know anything about a program called instant spanish <~Sick0> :[BASH]: like if its any good <~Sick0> :[BASH]: just add water <~Sick0> :[BASH]: heh.. thought that said 'instant spinach' ```mirc alias -l bash { if (!$($+(%,#,bash),2)) { inc -u10 $+(%,#,bash) if ($sock($+(bash,#))) sockclose $+(bash,#) sockopen $+(bash,#) www.bash.org 80 sockmark $+(bash,#) $+(/?,$iif($1,$1,random)) msg # } } on *:load: { echo 12 -a You Have Just Loaded Napa182's Bash Quote Socket echo 07 -a A irc.EzzyChat.com Production echo -a 08!!04WARNING08 This snippet may04/08will say curse04/08foul words 04WARNING08!! } on *:input:#:if ($regex($1-,/^@bash?\s?(\d+)?$/iS)) bash $iif($regml(1),$v1) on $*:text:/^@bash?\s?(\d+)?$/iS:#:bash $iif($regml(1),$v1) on *:sockopen:bash*: { sockwrite -n bash* GET $gettok($sock($sockname).mark,1,32) HTTP/1.1 sockwrite -n bash* Host: $+($sock($sockname).addr,$str($crlf,2)) } on *:sockread:bash*: { var %bash | sockread %bash if ($regex(%bash,/Quote\s\43(\d+\s.+exist\56)<\/font>/)) { $gettok($sock($sockname).mark,2-,32) :[04Bash Quote $+($chr(35),04,$regml(1),]:) sockclose $sockname } if ($regex(%bash,/\43(\d+)<\/b>/)) { $gettok($sock($sockname).mark,2-,32) Looking Up :[04Bash Quote$& $+($chr(35),04,$regml(1),]: Please wait...) } if ($regex(%bash,/^(

|)(\S.+)(
|<\/p>)/)) { inc -u10 $+(%,$sockname) .timerbash $+ $($+(%,$sockname),2) 1 $calc(2* $($+(%,$sockname),2))$& $gettok($sock($sockname).mark,2-,32) :[04BASH]:$& $replace($regml(2),<,<,>,>,",", ,$chr(32),&,&) } if ($regml(3) =

) { sockclose $sockname } } ```

Comments

Sign in to comment.
Stewie1k94   -  Jun 27, 2012

Not all of 'em are as long as that, but some are.

 Respond  
RIcko   -  Jun 27, 2012

If its too long like this, then i'll disable the @ trigger, making it a notice only is better lol

 Respond  
Stewie1k94   -  Jun 27, 2012

Yes, that's one result. One quote from an IRC chat. It's not multiple chats, is it?

 Respond  
RIcko   -  Jun 27, 2012

Not really tocalfane1:

(Jun-Wed-27)(11:20:25:am) <07~Ricko> @bash
(Jun-Wed-27)(11:20:28:am) <05&Pyro> Looking Up :[04Bash Quote #04694]: Please wait...
(Jun-Wed-27)(11:20:30:am) <05&Pyro> :[04BASH]: how does a guy become a porn star?
(Jun-Wed-27)(11:20:32:am) <05&Pyro> :[04BASH]: that's what I wana find out
(Jun-Wed-27)(11:20:34:am) <05&Pyro> :[04BASH]: sparc5: have at least 8inches and 4inches girth
(Jun-Wed-27)(11:20:36:am) <05&Pyro> :[04BASH]: sparc5: and you usually pay them to be in the first few
(Jun-Wed-27)(11:20:38:am) <05&Pyro> :[04BASH]: or family business
(Jun-Wed-27)(11:20:40:am) <05&Pyro> :[04BASH]: Rehlic: pay???
(Jun-Wed-27)(11:20:42:am) <05&Pyro> :[04BASH]: may you all catch this horrible disease and suffer
(Jun-Wed-27)(11:20:44:am) <05&Pyro> :[04BASH]: sparc5: its easy to find any guy to fuk some hot pron star
(Jun-Wed-27)(11:20:46:am) <05&Pyro> :[04BASH]: damn

 Respond  
Stewie1k94   -  Jun 27, 2012

It only shows one result!

 Respond  
RIcko   -  Jun 26, 2012

Anyway of making it have less results? :/

 Respond  
Stewie1k94   -  May 06, 2012

Try this:

alias -l bash {
  if (!$($+(%,#,bash),2)) { inc -u10 $+(%,#,bash)
    if ($sock($+(bash,#))) sockclose $+(bash,#) 
    sockopen $+(bash,#) www.bash.org 80 
    sockmark $+(bash,#) $+(/?,$iif($1,$1,random)) msg #
  }
}
on *:load: { 
  echo 12 -a You Have Just Loaded Napa182's Bash Quote Socket 
  echo 07 -a A irc.EzzyChat.com Production 
  echo -a 08!!04WARNING08 This snippet may04/08will say curse04/08foul words 04WARNING08!!
}
on *:input:#:if ($regex($1-,/^@bash?\s?(\d+)?$/iS)) bash $iif($regml(1),$v1)
on $*:text:/^@bash?\s?(\d+)?$/iS:#:bash $iif($regml(1),$v1)
on *:sockopen:bash*: { 
  sockwrite -n bash* GET $gettok($sock($sockname).mark,1,32) HTTP/1.1 
  sockwrite -n bash* Host: $+($sock($sockname).addr,$str($crlf,2)) 
}
on *:sockread:bash*: {
  var %bash | sockread %bash
  if ($regex(%bash,/<center.+>Quote\s\43(\d+\s.+exist\56)<\/font>/)) {
    $gettok($sock($sockname).mark,2-,32) :[04Bash Quote $+($chr(35),04,$regml(1),]:)
    sockclose $sockname
  }
  if ($regex(%bash,/<b>\43(\d+)<\/b>/)) {
    $gettok($sock($sockname).mark,2-,32) Looking Up :[04Bash Quote$&
      $+($chr(35),04,$regml(1),]: Please wait...) 
  }
  if ($regex(%bash,/^(<p class=.+>|)(\S.+)(<br \/>|<\/p>)/)) { 
    inc -u10 $+(%,$sockname) 
    .timerbash $+ $($+(%,$sockname),2) 1 $calc(2* $($+(%,$sockname),2))$& 
      $gettok($sock($sockname).mark,2-,32) :[04BASH]:$&
      $replace($regml(2),&lt;,<,&gt;,>,&nsbsp,$chr(32),&,&)
  }
  if ($regml(3) = </p>) { sockclose $sockname }
}

Before: > [10:41pm] <~Stewie|Toclafane> @Bash
[10:41pm] <&thunderbolt> Looking Up :[Bash Quote #355]: Please wait...
[10:41pm] <&thunderbolt> :[BASH]: <Rapture> I wasn't naked! I had a sock on! After: > [10:43pm] <~Stewie|Toclafane> @bash 355
[10:43pm] <&thunderbolt> Looking Up :[Bash Quote #355]: Please wait...
[10:43pm] <&thunderbolt> :[BASH]: I wasn't naked! I had a sock on!

 Respond  
Jordyk19   -  May 06, 2012

It seems like there is a litle bug.

18<20vTox> :[04BASH]: &lt;VIVI&gt; Microsoft Excel
18<20vTox> :[04BASH]: &lt;VIVI&gt; Solitaire

< and >

 Respond  
Stewie1k94   -  Nov 08, 2011

Lol

 Respond  
Jethro   -  Nov 08, 2011

napa182 may be less involved in MSL these days, his work will always be there to commemorate his past with Hawkee. You can find his name on Hawkee's Hall of fame.

 Respond  
napa182   -  Nov 06, 2011

lol

 Respond  
Stewie1k94   -  Nov 06, 2011

I can't stop using it xD

 Respond  
napa182   -  Nov 06, 2011

thank you toclafane1...

 Respond  
Stewie1k94   -  Nov 06, 2011

Nice Snippet Napa182

 Respond  
napa182   -  Nov 06, 2011

lol thanks for the comments an likes ;x

 Respond  
Jordyk19   -  Oct 18, 2011

I like it again :D

 Respond  
MashhitDK   -  Sep 03, 2011

Just wanted to say thanks... nice little script <3

 Respond  
napa182   -  Jun 17, 2011

Thank you for the comment an score Aha2Y.

 Respond  
Jordyk19   -  Jun 17, 2011

Very nice script, I have a Big 10+ and a like for you.

 Respond  
napa182   -  Jun 16, 2011

Thank you for the like an score GrimReaper.

 Respond  
GrimReaper   -  Jun 16, 2011

Nice snippet Napa, Get's a like and a 9 from me. :)

 Respond  
napa182   -  Jun 16, 2011

Thank you for the comment Jethro_.

 Respond  
Jethro   -  Jun 16, 2011

I give my big thumbs up for this snippet.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.