i am trying to make my bot to notify user that the bot is now Online and the user can start using the bot commands
i have tried with this script but it wont works
Code: Select all
bind join - #channel bot:joined
proc bot:joined {nick uhost hand chan} {
if {[isbotnick user1 user2 user3] && [string equal -nocase #channel $chan]} {
utimer 15 [ putserv "PRIVMSG user1 user2 user3: "I am online now. My commands are available by typing !commands at #channel."]
}
}
putlog "Bot ready script - loaded"the purpose of this script is just to notify user1, user2 and user3 that my bot is online and they can start using the bot
i have another script for !commands
any advice is appeciated