WebChat: Simplified the CheckForLinks function.

It also works for multiple links now