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.

color and bold problem [solved]

Help for those learning Tcl or writing their own scripts.
Post Reply
t
th3d4rk
Voice
Posts: 1
Joined: Sun Jan 15, 2006 12:41 pm

color and bold problem [solved]

Post by th3d4rk »

Hi,

i'm very new in eggdrop tcl programming. But now i got a problem i'm not able to fix. Maybe someone can help me. I want to use [milk] as channel command. like

Code: Select all

bind pub - "\[milk\]" givemilk
but if someone will write [milk] in bold or color the command wont be recognized. i tryed with stripcodes but it wont work for me. maybe someone got a solution or just a hint ;)

Code: Select all

bind pub - [stripcodes bcr "\[milk\]"] givemilk
Thanks alot :)

--
thanks 4 help now it worked :)
Last edited by th3d4rk on Sun Jan 15, 2006 2:32 pm, edited 1 time in total.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

bind to pubm, not to pub, and then in your proc strip codes from the first word (which would be the command)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
Post Reply