I know this post belongs to the scripts section of the site, alltrough posting there is not allowed for me I will give users of this forum here a chance to make their irc experience better by disabling the annoying commercials when user joins a channel.
The code below will make the queries that have a # or an http:// (in the first line) not open. You will still see the # or http:// containing lines in the normal conversation, this script only protects against one-line-query-opening commercials by making mIRC simply not displaying them.
Just hit alt+R and copy-paste text below into the open window. Click OK and you're done.
on ^1:OPEN:?:*: {
if ( http:// isin $1-) {
halt
}
}
if ( $chr(35) isin $1-) {
halt
}
}