i've been looking but can someone point me in the right direction (either the tcl itself on this site or a way to start)
I want a script that holds certain info that is searchable... like User has this quote under his name and you want to see what quotes that person has in "notice" or search through all the quotes for specified keywords" if i'm confusing you all i'm sorry i'm new to this script and would love to learn with a simple template TY in advance
well i found released102.tcl to be quite useful with a few changes (only commands) but it seems when i add something to the list like ]blah[
it puts {]blah[} when i try to view it after....
anyone have any ideas why that may be?
to put \]blah\[ i would have to edit the file manually wouldn't i? i'm talking about it fixing that automatically... because how i add it is something like this "!add blahblahblah for ]blah[" so is there a way to make the script recognize those and add teh \] for them?
dudeicles wrote:it seems when i add something to the list like ]blah[
it puts {]blah[} when i try to view it after....
anyone have any ideas why that may be?
You seem to be mixing lists/strings...{]blah[} is what the string looks like when stored as an element in a list. If you want it translated back to a string, use 'lindex' to fetch a single element from the list or 'join' to make the entire list a string.
i'm really new to this and am using released 1.02 and don't want to butcher someone else's script but i'd love to understand exactly what you are talking about with join and lindex