egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

color and bold problem [solved]

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
th3d4rk
Voice


Joined: 15 Jan 2006
Posts: 1

PostPosted: Sun Jan 15, 2006 12:46 pm    Post subject: color and bold problem [solved] Reply with quote

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:

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 Wink

Code:

bind pub - [stripcodes bcr "\[milk\]"] givemilk


Thanks alot Smile

--
thanks 4 help now it worked Smile


Last edited by th3d4rk on Sun Jan 15, 2006 2:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Jan 15, 2006 1:38 pm    Post subject: Reply with quote

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] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber