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.
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Sat Jan 20, 2007 1:27 am
I know something isn't right in this code below im making for a script can anyone spot where I went wrong? I know I put something in the wrong spot but can't figure it out
Code: Select all
set text "$nick - [lrange [split $arg] 0 end] (Set by, [lindex [split $uhost @] 1])"
thanks
nml375
Revered One
Posts: 2860 Joined: Fri Aug 04, 2006 2:09 pm
Post
by nml375 » Sat Jan 20, 2007 2:07 am
Well... "lrange [split $arg] 0 end" really does'nt make any sense, as it would return the same list you'd initially get from "split $arg"...
Could you be abit more speciffic in which way your piece of code does not work as intended?
NML_375