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.

text decoration with variables

Old posts that have not been replied to for several years.
Locked
d
diarmuid

text decoration with variables

Post by diarmuid »

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?
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

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 »

worked great.

thanks for the help.
O
Ofloo
Owner
Posts: 953
Joined: Tue May 13, 2003 1:37 am
Location: Belguim
Contact:

Post by Ofloo »

np
XplaiN but think of me as stupid
Locked