All commands must be in an alias, event, or other type of definition. You can't just have commands sitting in a file not contained in anything.

Code:
on *:text:!on:#Californ1a: {
  .timer.timername 0 600 msg # text
}
on *:text:!off:#Californ1a: {
  .timer.timername off
}