This problem seems to be solved now
My bots mIRC was 6.12
FordLawnmower commented on my other comment that that problem could be a version issue.
Changing the mIRC to version 6.16 didn't solve that problem, but it solved this one!
Now it seems to work fine!
Thanks @FordLawnmower for pointing out the possible version issue!