It seems I m messing up somewhere wid setting up words. I tried to put like "*yaar*", "* yaar *" & "yaar" isolated but it don't warn/kick/ban if the word is said in whole line. its responding only when it is said just the word in a line.
Would be great if the bot warns in channel main like - user - you have said a bad word.... etc.
*yaar* matches "yaar" anywhere in the line even if it's part of another word. As for sending warning to the channel, replace "notice $nick" with "privmsg $chan"
Sir_Fz wrote:*yaar* matches "yaar" anywhere in the line even if it's part of another word. As for sending warning to the channel, replace "notice $nick" with "privmsg $chan"
Thanks again mate.
I tried all the possible mask, like *yaar*, * yaar *, yaar, "yaar" etc but none of em reacting if the word is said yaar in some line and when I use * yaar * its warning/kicking on anything said in main :/