| View previous topic :: View next topic |
| Author |
Message |
th3d4rk Voice
Joined: 15 Jan 2006 Posts: 1
|
Posted: Sun Jan 15, 2006 12:46 pm Post subject: color and bold problem [solved] |
|
|
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
| Code: |
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 |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Jan 15, 2006 1:38 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|