here the situation
im on a channel and there is a bot
when i type !help the bot notices me with some text
and the nick is enclosed with -`TIME-BoT`^- " --"
and when i typ !time the bot notices me with some other text
but this time the nick is enclosed with <`TIME-BoT`> " <>"
the bot also msg the whole chan some text from time to time
what i want to achieve with my script is
that i want to echo the bot to a different channel
i cant use
on *:TEXT:*:#: if $nick == `TIME-BoT` { commands }
because i dont want to echo what the bot says to the -channel.
i only want to echo when the bot notices me and not to the whole channel.
ive tried this code
on ^*:notice:*:?: { /msg #spamchannel $1- }
it work when i type !help because then the bots nick is enclosed with --
but it want work then i type !time
because then the bots nick is enclosed with <>
why cant i echo the bot when the nick is enclosed with <>
regards zleepan