1) Get $download()

2)
Code:
alias dcstyles {
  if ($download(dcstyles.txt,GET,http://www.dc-styles.com/forums/index.php,3,text)) {
    if ($read(dcstyles.txt,nr,/made a total of <b>(.*?)<\/b> posts/)) return $regml(1)
  }
  else return Error retrieving source.
}


To use you call it like: $dcstyles

Example: //echo -a Total: $dcstyles

Since this result isn't going to change every minute, you should store result in a global var, and retrieve the value of the variable, and only update every 15 minutes or so.

Note the alias dcstyles will pause the script until the result is retrieved, without freezing mIRC. If you want this to be triggered on a channel do it like this:

on *:text:!total:#channel: .timer 1 0 msg # Total: $!dcstyles

The timer is essential, so that $dcstyles doesn't pause your on text event.


Gone.