Really wish you could edit these comments. :/ In your if\'s you use @ $+ text thats not neccessary, if ($1 == @text) is fine.