Added ignore functionality to ai.js
Fixing Changed replacing nick function so it returns a value on the first occurrence.
Merge pull request #6 from patrickdebruijn/master

Added ignore functionality to ai.js