how do you know you cant get at the data in first pass as it comes in from the sockread?

all you'd need to do would be apply a regex to the incoming data

Code:
sockread %temp
if ($regex(%temp,/<p class="username">(.+?)</p>/)) {
  echo -a username is $regml(1)
}


While it's not exactly the most robust solution, this approach works 95% of the time because there is usually some unique data string you can search for surrounding every piece of data you need to extract.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"