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.
d
diarmuid
Post
by diarmuid » Fri May 28, 2004 9:21 pm
hey guys,
i'm also having an issue with text decoration when putting variables in it. let me show you:
Code: Select all
putserv "PRIVMSG #channel :\00314,1\>\00314 \0030Hey\00314\(\0037 $sb_set(counter) \00314\)"
the problem is with $sb_set(counter), it's an integer, and it interferes with the colour codes like \00315 etc. it'll work if i put a space between $sb_set(counter) and the \00315 type escape codes, but i don't want there to be a space there.
any thoughts?
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Fri May 28, 2004 9:48 pm
it will only interfere with \0037 for example why .. (you didn't represent a 2 digit figur so tcl will thing the first figur after 7 is a colorcode..)
try this \00307 and it won't interfere at all
XplaiN but think of me as stupid
d
diarmuid
Post
by diarmuid » Fri May 28, 2004 9:56 pm
worked great.
thanks for the help.
Ofloo
Owner
Posts: 953 Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:
Post
by Ofloo » Sat May 29, 2004 10:45 am
np
XplaiN but think of me as stupid