on ^*:TEXT:*:
#: {
var %res = $strip($1-,mo)
if ($regsub(%res,/\b(word1|badword|hate you)\b/igS,04\1,%res)) {
echo -i2ltbfc Normal $chan $+(<,$nick,>) %res
haltdef
}
}
oops sorry
I made some errors in the script, try it now...
You'll have to change
word1,
badword and
hate you by the words you actually want to hilight. Make sure they are separated by | and there are no spaces around it.
Like above, it whould work in all #channels, but you can replace the
# by your own channel or channels.
If it still doesn't work:
Open your remotes with Alt-R then create a new remotes file and paste the above in it. Make sure it looks like above, so it must be on 7 lines, not just one very long one. Also make sure your remote scripts are on by typing
/remote on in a status window.
Also note that you
cannot test this yourself. Either ask someone to type those words or open a new connection to your server (/server -m or new mIRC).