You missed a couple of things and that may be the culprit.
Quote:
if ($regex(ip,$3-,/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/g) > 0) {


This will match any IP addresses:
Code:
on *:TEXT:*:#: {
  if ($regex($1-,/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/g)) echo -a $regml(1)
}

Last edited by Tomao; 25/02/09 09:18 AM.