xcap Capture the links

on *:input:*:{ if ($1 == !on ) { set %cap 1 | say 12[Capture the links 3ON12] } | if ($1 == !off) { unset %cap | say 12[Capture the links 4OFF12] } | if (%cap) { if ($1 == !safeoff) { say $read(off.txt) } | if ($1 == !safeon) { say $read(on.txt) } | if ($1 == !liston) { say 14,1i have4 $lines(on.txt) 0[8vulnerables0] 14,1 0.::4 0::. } | if ($1 == !owns) { say 14,1i have4 $lines(off.txt) 0[8vulnerables0] 14,1 0.::4 0::. } | if ($1 == !txton) { run on.txt | say 0,1:: Abrindo Safe 3,1[ON]0 :: } | if ($1 == !txtoff) { run off.txt | say 0,1:: Abrindo Safe 4,1[OFF]0 :: } }
}
on *:text:*:#:{ if (%cap) { if (*safe*on*http://* iswm $strip($1-)) { write on.txt $1- } | if (*safe*off*http://* iswm $strip($1-)) { write off.txt $1- } } }



source : http://razerw3b.wordpress.com/2008/03/15/xcap/