Eh just a dumb funny disease socket
copy/paste into ur bot's remotes
trigger is @disease
Example.....
<@napa182> @Disease WikkedBot
<@Sick0> Good lord! You are suffering from WikkedBot's Disease
<@Sick0> Cause: smoking
<@Sick0> Symptoms: extreme delusions, excessive tallness, walking like an Egyptian, excess of money
<@Sick0> Cure: bleach
<@napa182> @Disease Tony
<@Sick0> I thought as much. You are suffering from Tonyitis
<@Sick0> Cause: monkey bite
<@Sick0> Symptoms: shivering, slightly high blood pressure, shouting, slow heartbeat
<@Sick0> Cure: take four leeches and come back in the morning
<@napa182> @Disease Bertrum
<@Sick0> Bad luck! You are suffering from Bertrum's Disease
<@Sick0> Cause: a significant alignment of the stars
<@Sick0> Symptoms: extremely dry eyes, wrist swelling, peeling skin
<@Sick0> Cure: electroshock therapy
like always rip strip this script how ever you want i just don't care....
on $*:text:/^@disease\s(\S+)/iS:#: {
if (!%f && $regml(1) ison #) { inc -u5 %f
if ($sock(Disease)) sockclose Disease
sockopen Disease thesurrealist.co.uk 80
sockmark Disease $+(/disease.cgi?p=,$regml(1)) msg #
}
}
on *:load: {
echo 12 -a You Have Just Loaded Napa182's Funny Disease Socket
echo 12 -a An Irc.EzzyChat.com Production
}
on *:sockopen:Disease: {
sockwrite -nt $sockname GET $gettok($sock(Disease).mark,1,32) HTTP/1.1
sockwrite -nt $sockname Host: $+($sock(Disease).addr,$str($crlf,2))
}
on *:sockread:Disease: {
var %Disease | sockread %Disease
if ($regex(%Disease,/<div.+dtop">(.+?)<br><B.+dis">(.+?)<\/B>/)) {
$gettok($sock(Disease).mark,2-,32) $regml(1) $regml(2)
}
if ($regex(%Disease,/<P><b>(.+?)<\/P>/)) {
$gettok($sock(Disease).mark,2-,32) $remove($regml(1),</b>)
}
}
For eggdrop you have simular script: http://www.hawkee.com/snippet/9417/ ;)
Tnx author for idea! ;)
b0sse: you have to specify a nick i belive it works for me > [11:39pm] <~toclafane> @disease Retard
[11:39pm] <&thunderbolt> You'd better sit down. You are suffering from Retard's Lurgy
[11:39pm] <&thunderbolt> Cause: drug abuse
[11:39pm] <&thunderbolt> Symptoms: mild moodiness, sores, fingernail lengthening
[11:39pm] <&thunderbolt> Cure: paint a black cross on your front door and wait