Hi, I'm trying to get a (what I hope to be) an extremely simple auto respond when someone messages me.
I tried to google since I figured this would be available and I found this:
on *:join:#:{
if ($nick != $me) {
if (%automsg == OFF) {
.msg $nick No help for now
}
elseif (%automsg == ON) {
.set -e %channotifi $chan
.msg $nick write your question in one line
}
}
}
on *:text:*:?:{
;notifies the channel where the bot
.msg #channotifi there is a question of $nick in channel %channotifi
;can make it bigger this is the basis for you to make the code has your taste
}
I placed this into the script and tried messaging myself, but nothing popped up.
I'm not very experienced in irc so I'm not sure how to pull this off