Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Strip color code

Status
Not open for further replies.

intel233

MIS
Feb 24, 2007
289
US
I want my bot to respond to a specific keyword regardless if the user types in bold/color.
bind pub -|- NEW ms:test
bind pub -|- "/002 /00310NEW" ms:test
bind pub -|- "/002 /0010NEW" ms:test

proc ms:test {nick chan arg} {
putlog "we are in the proc"

Nothing works. I never see we are in the proc when I am in the partyline of my eggdrop.
 
I don't understand most of the words you're using. Are you sure you have a Tcl problem?

_________________
Bob Rashkin
 
I assume its a TCL error since the code is not working. On the BIND to NEW should trigger the ms:proc newdir
but it never does.
Let me know what you are having difficulty understanding and I will try to explain better.
 
I don't recognize the syntax at all. Are you maybe using Expect?

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top