Code:
alias test { 
  .timertest 1 $rand(120,360) test 
  msg $chan bla bla bla
}


If you don't want the msg to trigger the first time you run /test then you can do:

Code:
alias test {
  .timertest 1 $rand(120,360) test -m
  if ($1 == -m) { msg $chan bla bla bla }
}


/test