What general rule are you trying to enforce here?
I want to eliminate some characters.
If you need to eliminate 4 words in the first place, I have the script:
on *:TEXT:text:#channel: {
if ($nick == ABC) {
msg $chan $4-
}
}
Now, not eliminate 4 words, but removing 8 characters, what can I do?