Spanky Said:
PSSST someone do a my life is twilight one :D
@Spanky heres a fast mock up.
edited: to replace the " and & crap
on $*:text:/^@mlit$/iS:#: {
if (!%f) {
inc -u4 %f
if ($sock(twilight)) sockclose twilight
sockopen twilight www.mylifeistwilight.com 80
sockmark twilight msg #
}
}
on *:sockopen:twilight: {
sockwrite -nt $sockname GET /random HTTP/1.1
sockwrite -nt $sockname Host: $+($sock(twilight).addr,$str($crlf,2))
}
on *:sockread:twilight: {
var %twilight | sockread %twilight
if ($regex(%twilight,/\t{1}<a href=.+"fmllink">(.+)<\/a>/)) {
$sock(twilight).mark $replace($regml(1),",",&,&)
sockclose twilight
}
}