I'm sorry but I cannot seem to get it to work. Here is my entire script.
Code:

on *:join:# { 
  /msg $chan Welcome to $read C:\Users\Owner\Documents\places.txt
  .timer 1 5 MyAlias
}
alias MyAlias {
  if ($nick isop $chan) { 
    /mode $chan +o $nick 
  }
  elseif ($nick isvoice $chan) { 
    /mode $chan +v $nick 
  }
  else { 
    /mode $chan +h $nick 
  }
}