Storyline is that 2 kids playing an RPG end up trapped in the game. One of the characters is a female orc that he named after a teacher he didn't like. Don't remember the other main character. The beginning of the story sets up with dialogue between them through the ingame chat.
I believe it is a recent book (published post 2000) and would show up as sci-fi/fantasy and young adult.