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.

code help

Help for those learning Tcl or writing their own scripts.
Post Reply
c
cache
Master
Posts: 306
Joined: Tue Jan 10, 2006 4:59 am
Location: Mass

code help

Post by cache »

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
n
nml375
Revered One
Posts: 2860
Joined: Fri Aug 04, 2006 2:09 pm

Post by nml375 »

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
Post Reply