| View previous topic :: View next topic |
| Author |
Message |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
i.m.offline Halfop
Joined: 02 Mar 2006 Posts: 74
|
Posted: Sun Sep 09, 2007 1:49 am Post subject: |
|
|
| Sir_Fz wrote: | | Yes, you understand right. |
Thanks for the response mate.
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.
Thanks a lot for the help in advance  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Sep 09, 2007 6:37 am Post subject: |
|
|
*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" _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
i.m.offline Halfop
Joined: 02 Mar 2006 Posts: 74
|
Posted: Tue Sep 11, 2007 4:04 am Post subject: |
|
|
| 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 :/ |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Sep 12, 2007 4:38 pm Post subject: |
|
|
I don't see anything wrong with the code, I could be wrong. You figure it out. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|