"UPDATED"
Ok What this does is if someones pm's your bot, Ur bot pm's you and tell's you what they said. Put in a new remote of Ur bot and set Ur self as bot owner by typing /botking Urnick On Ur bot's side.. Then Put the last part of this snippet on Ur side and set the bot's name by typing /kingbot Botsname.. Then right click in a channel on Ur side to turn it on/off.
alias botking { set %botking $1 | echo -a Bot Owner Is Now $1 }
on *:text:foward *:?: {
if ($nick = %botking) {
$+(.,$iif($2 = on,en,dis),able) #forward
.notice %botking PM Forwarding Is Now $group(#forward)
.close -m $nick
}
}
on *:load: {
echo 12 -a You Have Just Loaded Napa182's PM Forwarding
echo 12 -a An Irc.EzzyChat.com Production
}
#forward on
on *:open:?:*: {
if (!$istok(nickserv.memoserv.chanserv.operserv.hostserv.helpserv.%botking,$nick,46)) {
inc -u120 $+(%,for,$nick)
if ($($+(%,for,$nick),2) = 1) { msg $nick Hi $nick I Am A BOT, But Leave Me A Message And I'l Forward It To My Owner }
}
}
on *:text:*:?: {
if (!$istok(nickserv.memoserv.chanserv.operserv.hostserv.helpserv.%botking,$nick,46)) {
if ($($+(%,for,$nick),2) <= 3) { msg %botking $nick had Private Messaged me: $1- | .close -m $nick }
if ($($+(%,for,$nick),2) >= 3) { .close -m $nick }
}
}
#forward end
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;ADD ON THE BOT OWNER'S SIDE;;;;;;;;;;;;;;;;;;;;;
;;;;;;AND SET UR BOT'S NAME BY TYPING /KINGBOT BOTSNAME;;;;;;;;;
alias kingbot { set %kingbot $1 | echo -a Bot Name Is Now Set As %kingbot }
menu menubar,channel {
PM foward
.ON:.msg %kingbot foward on
.OFF:.msg %kingbot foward off
}
Referencing post from a careful warchild:
If everyone tried to only have original ideas for scripts on this, or any other scripting forum, I'd be surprised if there were more than a hundred or so scripts.
Imo, part of the reason for having a Snippets section, is so that one can see how one person did a script, then try it yourself in a different manner.