if you /debug on, do you get the same message more than once from the server? If you only get it once from the server, then there's one of two things:
1) you have the code twice and dont realize it - if you really wanna be sure, try the method below
2) the code itself can both be triggered at the same time (which would be weird)
eyeballing this I see the following:
raw 324:*:{
echo -s TESTING #1
if ($mid($3,2,1) == $null) { echo $2 $timestamp 2Er is geen kanaal-mode gezet voor4 $2 | halt }
else { echo $2 $timestamp 2De modes van4 $2 2zijn11 $3 }
halt
}
See if that appears more than once in your status screen per RAW reply. If it does, see if the servers sends it twice, if it doesnt, you have it twice OR something is up with the code.
I, like you, dont understand why it would trigger twice