hello i would like help with a rather easy(i think) tcl
i would like my eggdrop to send a notice on #channel2 if a user joins #channel1 and his nickname is NOT on a list that is in the tcl.
for example if this is the list in the tcl
{
nick1
nick2
nick3
}
and user nick4 joins #channel1 the bot will send a notice on #channel2
well actually the bot crushed when i rehashed.i had to change [
nick1 \
nick2 \
]
with {
"nick1"
"nick2"
}
but it does not work.the notice is not beeing send to #channel2
what nml375 forgot to mention is that with the code he posted the nicks from the 'list_of_nicks' variable is case sensitive, meaning that Nick is not equal with nick, nIck, and so on.
Once the game is over, the king and the pawn go back in the same box.
Caesar,
case-sensitivity is correct, yet that would only cause notices to be sent when an otherwize identified nickname joined the channel. Currently reported problem is that no notice is sent at all.
Now that I look a little closer, there is one " misssing, updating the code in a sec or two..
crontab,
The error is most likely the missing " that I mentioned in my previous post. To be more specific, it should be added to the end of the 'puthelp "NOTICE ...' line.