Fun Tweets

By napa182 on Jun 17, 2011

Yes...Yes...It is another one =P

This snippet will pull a random tweet from twitters API for fun_tweets.

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

Like always, do what ever you want with this snippet. I don't care.

Copy/Paste into a new remote of your Bot, or in your own mIRC client.

Trigger is @ftweet

Example:

@ftweet <~Sick0> :[Fun Tweets]: @JPHaddadio Dinner guests coming over later and I got nothing. Does anyone know how to turn beef jerky back into steaks?

<~Sick0> @ftweet
<~Sick0> :[Fun Tweets]: @RonnieWK Mouth piercings look like robot herpes.

<~Sick0> @ftweet
<~Sick0> :[Fun Tweets]: @Paxochka I can't be the only person who hears the phone ringing and says "oh fuck, what NOW?" (http://funtweets.com)

@ftweet <~Sick0> :[Fun Tweets]: @BillMc7 To be honest, I'm not going to be completely happy until Facebook implements a 'I Wish You Were Dead' button. ```mirc alias -l ftweet { if (!$($+(%,fut,#),2)) { inc -u4 $+(%,fut,#) if ($sock($+(fut,#))) sockclose $+(fut,#) sockopen $+(fut,#) api.twitter.com 80 sockmark $+(fut,#) $r(1,20)$& $+(/1/statuses/user_timeline/fun_tweets.rss?page=,$& $r(1,35)) msg # :[04Fun Tweets]: } } on *:sockopen:fut*: { sockwrite -nt $sockname GET $gettok($sock($sockname).mark,2,32) HTTP/1.1 sockwrite -nt $sockname Host: $+($sock($sockname).addr,$str($crlf,2)) } on *:load:{ echo 07 -a You Have Just Loaded Napa182's Fun Tweets echo 04 -a An Irc.EzzyChat.com Production echo -a 08!!04WARNING08 This snippet may04/08will say curse04/08foul words 04WARNING08!! } on $*:text:/^@ftweet$/iS:#:ftweet on *:input:#:if ($regex($1,/^@ftweet$/iS)) ftweet on *:sockread:fut*: { var %fut | sockread %fut if ($regex(%fut,/fun.+\72\sRT\s(.+?)<\/title>/)) { inc -u4 %uf 1 if (%uf = $gettok($sock($sockname).mark,1,32)) { $gettok($sock($sockname).mark,3-,32) $replace($regml(1),",",&,&) sockclose $sockname } } } ```

Comments

Sign in to comment.
devcline   -  Apr 29, 2015

hello can you please proper send/fix a code again? thanks

 Respond  
incognitus   -  Nov 13, 2013

Hey Napa182 is this still working for you? It's not working for me .. Can you take a look at this ? Thanks in advance!

 Respond  
shugary   -  Sep 10, 2012

oh alright. thanks nyways :)

 Respond  
Jethro   -  Sep 10, 2012

eggdrop's a whole new scripting language missy shugary. MSL and TCL don't marry well together...

 Respond  
napa182   -  Sep 10, 2012

No eggdrop. you can either copy an paste this in ur own mirc or a bot's remote.

 Respond  
shugary   -  Sep 09, 2012

oh nice. how do u do this via eggdrop?

 Respond  
napa182   -  Jun 26, 2011

Thank you irchainscriptz.

 Respond  
irchainscriptz   -  Jun 26, 2011

Nice snippet there Napa182

 Respond  
napa182   -  Jun 18, 2011

Thank you for the score an Like GrimReaper.

 Respond  
GrimReaper   -  Jun 18, 2011

Like the random replies from the snippet napa.

Get's a like and a 10 from me. :)

 Respond  
Jethro   -  Jun 18, 2011

lol Oh I haven't known you have hibernation mode in your system.

 Respond  
napa182   -  Jun 17, 2011

Well, thought I would submit a few then go dormant on submitting new snippets for awhile like I always do.

 Respond  
Jethro   -  Jun 17, 2011

I have a question: how long have you suppressed your socket urge? I can see you're releasing your urge like a "New Orleans flooding." lol

 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.