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.
Old posts that have not been replied to for several years.
Mystery-X
Voice
Posts: 10 Joined: Sun Apr 25, 2004 5:49 pm
Post
by Mystery-X » Thu Feb 10, 2005 1:27 pm
I've got the problem when i'm using my tcl that when there are 2 arguments that my tcl adds { } around them.
For example
!find cool guy then he returns {cool guy}
How can i fix this or prevent this?
Greetz Mystery-X
greenbear
Owner
Posts: 733 Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway
Post
by greenbear » Thu Feb 10, 2005 1:35 pm
It sounds like it's stored as a list, use
join to convert it back to a string (and get rid of the braces).
ex:
Code: Select all
putserv "PRIVMSG $channel :[join $text]"
De Kus
Revered One
Posts: 1361 Joined: Sun Dec 15, 2002 11:41 am
Location: Germany
Post
by De Kus » Thu Feb 10, 2005 6:31 pm
if you use the variable name "$args", you might want to select a diffrent name. this might already help without further edits.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under
The MIT License
Love hurts, love strengthens...