on *:INPUT:*:{
.msg $active $replace($1-,brnday,brandy)
}

Thats an example.

For instance, you can use $replace to replace multiple times within the one text string.

Eg:

$replace(brnday: hello how are you,brnday,brandy,you,you?)

This would replace brnday with brandy, and you, with you?


This is how it works:

$replace(text string,word to replace,new word)

I hope that helps.


--------
mIRC - fun for all the family (except grandma and grandpa)