| View previous topic :: View next topic |
| Author |
Message |
Ace-T Halfop
Joined: 29 Aug 2006 Posts: 82
|
Posted: Thu May 03, 2007 8:19 pm Post subject: Stopping Text help |
|
|
looking for a way to block certain text to be added to the mysql db from the eggdrop
i have this but doesnt seem to work
if {cow isin $text} {
return 0
}
cow is just an example
thx |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Thu May 03, 2007 8:33 pm Post subject: |
|
|
| Code: | if {[string match "*cow*" $text]} {
return 0
} |
You might want to check out the Tcl documentation at www.tcl.tk and Eggdrop's Tcl-commands.doc (docs/ directory). _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|