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.

nick with \ in it

Old posts that have not been replied to for several years.
Locked
t
tcl-idiot

Post by tcl-idiot »

it seems that tcl is stripping off "" (backslashes) in nicks - how do i quote such so it'll be included in nick
User avatar
stdragon
Owner
Posts: 959
Joined: Sun Sep 23, 2001 8:00 pm
Contact:

Post by stdragon »

set nick {blahblah}

or

set nick "blah\blah"
t
tcl-idiot

Post by tcl-idiot »

right -

but when calling $nick -- it still doesnt take backslashes -- btw, its coming from a list


set nick [lindex ${nicks} 0]
** $nicks variable has nicks that might have backslash in it

and $nick still doesnt have the backslash when called.




<font size=-1>[ This Message was edited by: tcl-idiot on 2002-05-22 15:55 ]</font>
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

because $nicks is a string, and you're using a list command (lindex) on it
t
tcl-idiot

Post by tcl-idiot »

nice .. thx :smile:
Locked