@Jaystew: If I did offer my assistance, you surely made some "redundant" changes by yourself. This is all you need:
on *:TEXT:*:#: {
if ($regex($1-,/(https?:\/\/\w+|www\.\w+)|([.](\w+)$)/Si)) {
.omsg #ops 2 Moderator to $chan please; possible advertising by $nick
}
}
No second regex if statement needed. And you do not need close -m because this is not for PM.