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.

i want help

Help for those learning Tcl or writing their own scripts.
Post Reply
A
ArabFox
Voice
Posts: 5
Joined: Tue Feb 12, 2008 8:16 pm

i want help

Post by ArabFox »

how to use $strip on eggdrop???
User avatar
TCL_no_TK
Owner
Posts: 509
Joined: Fri Aug 25, 2006 7:05 pm
Location: England, Yorkshire

Post by TCL_no_TK »

doc/ folder files tcl-commands.doc :) file, Please remenber to check it.
stripcodes <strip-flags> <string>

Description: strips specified control characters from the string given. strip-flags can be any combination of the following:

b remove all boldface codes
c remove all color codes
r remove all reverse video codes
u remove all underline codes
a remove all ANSI codes
g remove all ctrl-g (bell) codes

Returns: the stripped string
Module: core
Example: set striped_text [stripcodes "bcruag" "$text"]
A
ArabFox
Voice
Posts: 5
Joined: Tue Feb 12, 2008 8:16 pm

Post by ArabFox »

thhhhhhx bro
Post Reply