Solved everything to work perfect. The codes of the message are kind off messy but it works fine after 200 tests :P