hi all,im using an echo script and im trying to filter out some stuff that i dont want to see into a chan im in by myself.
It seems to be working good for the most part but it still doesnt filter out somethings,this is what i have so far:
ON 1:TEXT:*:#CHAN_ECHO'S_FROM:{
if (PRETIME isin $1-) || (French isin $1-) || (SWEDiSH isin $1-) || (DANiSH isin $1-) || (German isin $1-) || (DUTCH isin $1-) || (.KOR. isin $1-) || (.iTALiAN. isin $1-) || (.SATRip. isin $1-) || (.PL. isin $1-) || (.*-pre*. isin $1-) {
set %echo.say OFF
}
if (DVD-R isin $1-) && (%echo.say == ON) { /msg #CHAN_ECHO'S_TO $1- }
if (SVCD isin $1-) && (%echo.say == ON) { /msg #CHAN_ECHO'S_TO $1- }
if (VCD isin $1-) && (%echo.say == ON) { /msg #CHAN_ECHO'S_TO $1- }
if (XviD isin $1-) && (%echo.say == ON) { /msg #CHAN_ECHO'S_TO $1- }
if (XBoX isin $1-) && (%echo.say == ON) { /msg #CHAN_ECHO'S_TO $1- }
if (Games isin $1-) && (%echo.say == ON) { /msg #CHAN_ECHO'S_TO $1- }
set %echo.say ON
}
like i said this is working for the most part but if someone types in the chan
-pre DVD-R or -pre SVCD etc etc.. or even just says DVDR or SVCD etc...it will also echo that into my chan,
e.g. chan i echo from
[11:45am] <@D00M> -pre SVCD
[11:45am] <Pre> [-PRETIME-] [SVCD] Release:(BlahBlah.DVDRip.SVCD-Blah) Age:(57 minutes 17 seconds ago)
e.g. chan i echo to
[11:45am] <@EchoBot> -pre SVCD
is there a way to get it to block the -pre command or when a user just types SVCD or DVDR etc.. in their convo?.
I'v tried to add it to the filter with (.*-pre*. isin $1-) but it isnt working and still shows in my chan,
so if anyone can help me that would be great,TIA