Code: Select all
bind join - "$irpg(runchan)*" join:login
proc join:login {nick uhost hand chan} {
global irpg
if {$nick == $::botnick} {
putlog "\002Joined #irpg\002 - $chan $nick"
puthelp "Privmsg $irpg(bot) :login $irpg(name) $irpg(pass)"
}
}
<Natsuki-Chan> [12:24] Joined #pirg - #irpg Natsuki-Chan
<Natsuki-Chan> [12:24] Joined #irpg - #irpg Natsuki-Chan
Secondly, this doesnt bind at all... when the nickname matching $irpg(bot) joins the channel.
Code: Select all
if {$nick == $irpg(bot)} {
putlog "$irpg(bot) joined channel, sending message"
puthelp "Privmsg $irpg(bot) :login $irpg(name) $irpg(pass)"
}
Can you help, as i can gaurentee its something most likely blatantly simple, that i am missing
Thanks