Hi Guys

Running a catch and announce-to-channel script from an snotice for spamfilter catchments and noticed on one particular filter it does not display correctly

Bot is mirc 7.55

message from snotice is
Quote
matches filter '(?-i)[A-Z ]{30}':

filter window @spam shows correct every time

bot message is
Quote
[22:05] <Titan_Bot> AndroUser2 tripped spamfilter at 22:05:51 on 30/05/2021 .. the spamfilter is '(?-i)[A-Z and they said #testchannel: 'THIS IS A TEST etc etc etc

For some reason $5 is breaking due to the required space between the Z and the ] and it doesnt show the rest as seen above.. I can live with it but this is the first time it has occurred and i would like to fix if possible

code section is
Code
if (matches filter isin $1-) {
    window -nek @spam
    aline -hp  @spam 4 $+ $1-  at $time on $date on $network
    /msg #filters $gettok($2,1,33) tripped spamfilter at $time on $date .. the spamfilter is $5 and they said $gettok($8-,1,93)
     haltdef
  }

Is there an easy fix here and what is it please smile