jonesy44 said:> Why the second sockread %mgs?
I need the second sockread %mgs because that is used to get the actual quote itself.
Let's take
<b><a href="/name/nm0371684/">Solid Snake</a></b>:
This reminds me of when we first met.
<br>
for instance.
if ($regex(%mgs,<b><a href="/name/.*/">(.*)</a></b>:|<b>(.*)</b>:)) {
gets the person who said the quote from the Solid Snake: part, and then after that, I need to get the actual quote itself. By using sockread again, I can get the next line, which contains the quote.
Hope this clarifies your question.