Code:
on *:text:*!Login*:#MyRoom: {
  if ($2 == $readini($nick $+ .chr,pass,pass)) && ($3 == $readini($nick $+ .chr,name,name)) { 
    writeini $nick $+ .chr pass passaccept on
    notice $nick You have logged in!
  mode #LATOOC +v $nick  }
  else notice $nick Wrong information. This is not the information for $3
  halt
}


And it just keeps saying

<Bot> Wrong information. This is not the information for CharacterName

I'm not sure it's even reading the .chr properly