Use the following for halting private messages with
kolayweb.com in it only:
On ^*:OPEN:?:*: if (kolayweb.com isin $strip($1-)) { halt }
For a more elaborate advertisement blocker, see this
other thread.
Also, if you're on DALnet, you may consider using
usermode +R which will block all messages from nicknames that have not been identified to. Read more about that at
DALnet's Documentation Website.