Funny Usernick Facts Socket

By napa182 on Jan 13, 2010

This will say random funny facts of the nick you enter.
to use type @nfact m|f|o the m = male f = female and o = other
so ex: @nfact napa182 m
copy/paste into ur bots remotes and have fun.

rip or strip this script how ever you want i dont care


@nfact GothGirl f GothGirl doesn't shower, she only takes blood baths.
@nfact Bertrum m Bertrum is a vegetarian. Meaning, he does not eat animals until first he puts them into vegetative state with his fists. @nfact Security o Most people know that Descarte said, "I think, therefore I am." What most people don't know is that that quote continues, "...afraid of Security." @nfact napa182 m Q: How many napa182's does it take to change a light bulb? A: None, napa182 prefers to kill in the dark. ```mirc on $*:text:/^@nfact\s(\S+)\s([mfo])$/iS:#: { if (!%f && $regml(1) ison #) { inc -u4 %f if ($sock(nfact)) sockclose nfact sockopen nfact 80 sockmark nfact $+(/projects/facts/index.php?n=,$regml(1),&g=,$replace($regml(2),m,male,f,female,o,other)) msg # } } on *:load: { echo 12 -a You Have Just Loaded Napa182's Funny Nick Facts echo 07 -a A Production } on *:sockopen:nfact: { sockwrite -nt nfact GET $gettok($sock(nfact).mark,1,32) HTTP/1.1 sockwrite -nt nfact Host: $+($sock(nfact).addr,$str($crlf,2)) } on *:sockread:nfact: { var %nfact | sockread %nfact if ($regex(%nfact,/\t{7}\s(.+?)$/)) { $gettok($sock(nfact).mark,2-,32) $regml(1) sockclose nfact } } ```


Sign in to comment.
Jethro   -  Feb 23, 2011

napa, just a quick tip to share it with you. You can use the /U modifier in place of the .+? : > if ($regex(%nfact,/\t{7}\s(.+?)/)) {can be made as:

if ($regex(%nfact,/\t{7}\s(.+)/U)) {

/U modifier means "un-greedy" ;o
They're pretty much the same thing. I thought I'd be a good sport. ;p

On a further note, though, the use of ? and $ in (.+?)$ can be omitted as (.+) . Your script will work just as well without them in the nature of the source located...

napa182   -  Feb 22, 2011

So true Jethro_, but thats the price you pay for making sockets. One always has to update when the site decides to change things around. Its ok tho gives us something to do. ;x

Jethro   -  Feb 22, 2011

Having socket scripts make us look like babysitters. The constant nurture of them when they go "fussy" on us.

napa182   -  Feb 21, 2011

updated due to an html change on Funny Facts About [ Insert Name Here ]

zamzam   -  Oct 15, 2010

hello dear All, my i kno the server and channel u using this this script on ?

ty, and keep create

blackvenomm666   -  Oct 12, 2010

very nice:D

napa182   -  Oct 12, 2010

U are welcome pacino23 and thanks for the comment.

pacino23   -  Oct 12, 2010

Thank you napa182, this script is hilarious and never fails to amuse the people in my channel.

Lucius   -  Jun 17, 2010

Nice, I have all these on a chuck script, looks like a $replace(job) lol
excellent implementation though.
I'm in awe as always.

napa182   -  Jan 14, 2010

<&Sick0> napa182 has a deep and abiding respect for human life... unless it gets in his way.

<&Sick0> We all know the magic word is please. As in the sentence, "Please don't kill me." Too bad napa182 doesn't believe in magic.


Banana-Jamma   -  Jan 14, 2010

LOL omg it already looks like a ton of laughs. and Jethro_ is right, it will commence a dull channel into a whole bunch of crazy laughing chatter. Niceeee.

napa182   -  Jan 14, 2010

You are welcome. Yeah it's good for a few laughs.

Jethro   -  Jan 14, 2010

This snippet's gonna be very useful to revive a boring channel. Thanks for posting this.

napa182   -  Jan 13, 2010

lol yeah it's a crack up

SnoooP   -  Jan 13, 2010

My favourite

<@Sick0> Instead of having a cigarette after sex, GothGirl heads outside and brands her cattle.

Aucun50   -  Jan 13, 2010

Lol nice

@nfact napa182 m Q: How many napa182's does it take to change a light bulb? A: None, napa182 prefers to kill in the dark. xD
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.