my code was something like this
on *:TEXT:*:#:{
if ( $1 == test ){ write -a " $+ $mircdir\logs\Trigger\ $+ $date(dd.mm.yyyy) Trigger.log" $time $nick $1-
window @TriggerBox
echo @TriggerBox $time $nick $1-
}
}
thx four your help now my code looks like this
on *:TEXT:*:#:{
var %bt1 * $+ cheater $+ *
var %bt2 * $+ hdf $+ *
var %bt3 * $+ [censored] $+ *
var %bt4 * $+ ntg $+ *
var %bt5 * $+ arschloch $+ *
var %bt6 * $+ hitler $+ *
var %bt7 * $+ sack $+ *
var %bt8 * $+ heil $+ *
var %bt9 * $+ nazi $+ *
var %bt10 * $+ huso $+ *
if (%bt1 iswm $strip($1-,buc)) { goto next }
if (%bt2 iswm $strip($1-,buc)) { goto next }
if (%bt3 iswm $strip($1-,buc)) { goto next }
if (%bt4 iswm $strip($1-,buc)) { goto next }
if (%bt5 iswm $strip($1-,buc)) { goto next }
if (%bt6 iswm $strip($1-,buc)) { goto next }
if (%bt7 iswm $strip($1-,buc)) { goto next }
if (%bt8 iswm $strip($1-,buc)) { goto next }
if (%bt9 iswm $strip($1-,buc)) { goto next }
if (%bt10 iswm $strip($1-,buc)) { goto next }
else { halt }
:next
var %i $time $nick $1-
write -a $qt($+($mircdirlogs\Trigger\,$date(dd.mm.yyyy),Trigger.log)) $strip(%i,buc)
window @TriggerBox
echo @TriggerBox %i
}
and i works fine