Hello smile
You have a little typo in the second line of the counter script.
You don't need a { there and since you dont need that you dont need a closing bracket as well.
Other than that the scripts are just fine but they need a slight modification to do what you want.
Code:
on *:TEXT:!startannouncer:#: {
  if ($nick isop #) {
if (!%announce) {
    msg # Announcer is now starting.
    set %announce $ctime
}
  }
}
 
on *:TEXT:!stopannouncer:#: {
  if ($nick isop #) {
if (%announce) {
    msg # Announcer is now stopping.
unset %announce
    }
  }
}

Code:
ON *:TEXT:*:#: {
if (%announce) {
inc %msgcounter 1
if (%msgcounter >= 10) {
if ($calc($ctime - %announce) >= 600) {
msg #chan YOur msg here
unset %msgcounter
set %announce $ctime
}
}
}
}


Last edited by OrFeAsGr; 27/10/15 02:02 PM.