maybe, its some syntax issue, also id advise you to put the trigger word into the matchtext..
on *:text:test *:#:{
write -a " $+ $mircdir\logs\Trigger\ $+ $date(dd.mm.yyyy) Trigger.log" $time $nick $1-
if (!$window(@TriggerBox)) { window @TriggerBox }
echo @TriggerBox $time $nick $1-
}