Hash tables tutorial

To create the table, type /hmake rep. To add to the table, type /hadd rep <word> <replacement> for each word. For example,
  • /hadd rep about aboot
    /hadd rep fellow fella
When you finish, save the table to a file by typing /hsave -o rep rep.dat, because after closing mIRC the table is lost and will need to be reloaded later.

My $reptext identifier gets a string from the user and sees which words can be replaced. You can use it in an input event like this:
  • On *:input:#:if /* !iswm $1 { say $reptext($1-) | halt }
I hope it's more clear now.