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
ex:
@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 blog.esaba.com 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 irc.EzzyChat.com 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 } } ```
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...