Ok this is fixing it the additional slash, replace line 59-68 with this:
Code:
$messagearray[1][$i] = "http://www.amazon.de/exec/obidos/ASIN".$asin[0]."ref=nosim/" . $associate_id.'"]';
}
elseif(stristr($messagearray[1][$i],"[/url]"))
{
$messagearray[1][$i] = "http://www.amazon.de/exec/obidos/ASIN".$asin[0]."ref=nosim/" . $associate_id."[/url]";
}
else
{
$messagearray[1][$i] = "http://www.amazon.de/exec/obidos/ASIN".$asin[0]."ref=nosim/" . $associate_id;
}