This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Help for those learning Tcl or writing their own scripts.
dokueki
Voice
Posts: 31 Joined: Sat Apr 28, 2007 8:42 am
Location: Bat Yam, Israel
Contact:
Post
by dokueki » Sat Jun 23, 2007 5:14 am
Hey. I want to define a list of keywords (example 'set keywords "kw txt keyword morekeywords"') and bind for each keyword in the list (bind kw, bind txt, bind keyword, etc)
How would I go upon doing this?
rosc2112
Revered One
Posts: 1454 Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania
Post
by rosc2112 » Sat Jun 23, 2007 9:32 am
foreach word $wordlist {bind type flags $word procname}
Something like that.. I'll let it up to you to read the FAQ about how to read/write files to create your list.
dokueki
Voice
Posts: 31 Joined: Sat Apr 28, 2007 8:42 am
Location: Bat Yam, Israel
Contact:
Post
by dokueki » Sat Jun 23, 2007 10:17 am
Thank you! I tried foreach but I got the syntax wrong ^_^;; XD