bind join - * proc_join
proc proc_join {nick chan text} {
putserv "PRIVMSG $chan :$nick:For info on server do !help"
}
I have tried a few variations and im still reading the docs now.
But when i join the channle with the bot no joy
all my other things work fine like 1help for example
#Set here the channels that you don't want onjoin msg enabled. Set "*" for all.
set no-msg(chan) "#chan1 #chan2"
bind join - * onjoin:msg
proc onjoin:msg {nick uhost hand chan} {
global no-msg
set chan [string tolower $chan]
if {(([lsearch -exact [string tolower $no-msg(chan)] $chan] >= 0) || ($no-msg(chan) == "*"))} {return}
puthelp "NOTICE $nick :For info on server do !help"
}
The above untested; easily altered to suite your own particular needs.
Add [SOLVED] to the thread title if your issue has been. Search | FAQ | RTM
Well i tried your snippet in its complete form and tried to tweak it but to no avail.
Today is me first day at this so i must be doing some thing really silly some where
My other snippets i have been fiddling with just basic stuff to get the feel of things like
Cheers for that all is now well. To get it going i had to put it in a seperate file for some reason.
I have like half a dozen other script sections in my main script file i thought that was ok to do and they all work fine.