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.
o
otterboyy
Post
by otterboyy » Tue Mar 12, 2002 6:13 pm
I'm sure its simple but I can't find it so I'm turning to you once again.
I want to pass a control-k# in a string.
Example
if {true} {
puts "(cntl-k)4 Do not reply to this message."
}
thanks in advance!
Petersen
Owner
Posts: 685 Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK
Post
by Petersen » Tue Mar 12, 2002 6:29 pm
you don't want ctrl+k, you want what mirc output when ctrl+k is pressed, which is ascii symbol 03, which can be used in tcl by using its escaped octal notation (ie 03)
o
otterboyy
Post
by otterboyy » Tue Mar 12, 2002 6:55 pm
you
are
DA MAN!
thanks!
o
otterboyy
Post
by otterboyy » Tue Mar 12, 2002 7:38 pm
one more question.
is there a chart of the octal notations?
for example the control codes?
I've been searching the net and can't find one.
Petersen
Owner
Posts: 685 Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK
Post
by Petersen » Tue Mar 12, 2002 8:44 pm
mirc codes (in octal)
001 = ctcp
002 = bold
003 = colour
017 = reset (aka turn off all previous codes)
026 = inverse
037 = underline
Wcc
Master
Posts: 278 Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:
Post
by Wcc » Wed Mar 13, 2002 12:26 am