therannmann2000 commented on a Page, Welcome Script for Your Bot  -  Feb 20, 2006

on 1:JOIN:#:{ /msg $nick Welcome $nick .::.It Is $Time And today is: $date .::. } { /notice $chan $nick has joined the conversation- $time .::. $date } { /notice $nick you have joined the conversation sucsessfully }

A couple things... first off, I think $asctime would be better used here than $time. Most users don\'t want to read a 24 hour format... $asctime(hh:nntt) would return a 12 hour format with am/pm at the end. (and the date could be the same way, but that too is personal prefrence)

Secondly, I\'m not sure too many people would stay in the channel this script is running if everytime someone joins they get a notice. I don\'t know about you, but if I\'m in a channel that gets more than one notice a day, I usually part because it\'s really annoying. Notices are meant for important things unless it\'s an on join notice to the person who just joined. Don\'t do channel-wide notices.

Thirdly, if your \"bot\" joins the channel, it will welcome itself. At the very beginning you should put \"if ($nick == $me) halt\" and put everything else in an \"else\" statement.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.