Hi,

as stated before:

By default (unless you've scripted the view differently):

When you /notice a person, or when a person /notice you, his nick is always enclosed by -nickname-

When you /msg a person the nick is enclosed by *nick* and when a person /msg you, then their nicks will be enclosed by <>


In other words:
Quote:

and when i typ !time the bot notices me with some other text
but this time the nick is enclosed with <`TIME-BoT`> " <>"

is impossible, because when a person notices you, you will see his nick enclosed by - - and not <>, so that must mean that it is not a notice to you.

However, mIRC doesn't care what the nicknames are enclosed with. You can simply capture the nick with the $nick identifier. So regardless of the view whether it be <>, * *, - -, as long as you are using the right event.

Indeed your script on *:NOTICE:*:?: if $nick == `TIME-BoT` { msg #spamchannel $1- }
works when you are being noticed, which is why the nickname is surrounded by --

And indeed your script won't work if the nick is enclosed by <> because that is not a notice to you but a private message.

The only advice I can give to you is the following:

In mIRC type /debug @debug

Then type !help in the channel.
Then type !time in the channel.

Wait until the bot has replied you with the !help and !time, and then type /debug off

That should show you exactly what happens when you type !help and !time, cuz mIRC will have captured the raw events, as shown in the @debug window.

Then post on the board here the contents of the @debug window.

I'm gonna be gone for a few hours now (studying) so I might not answer right away, but maybe someone else will get it.

Greets