| View previous topic :: View next topic |
| Author |
Message |
Neeq Voice
Joined: 01 Mar 2007 Posts: 8
|
Posted: Fri Nov 07, 2008 12:35 pm Post subject: Binding, colour and a wildcard! |
|
|
Hi there,
I've been trying different combinations all night to try and get this to work properly, I have yet to find the correct one, being 3AM I thought I would just ask someone who knows what they are doing!
Anyway. | Code: | | bind pubm - "\[-TRT-\]*" proc:parse |
That is what I am left with right now.
(12 and 15 are colour codes, from mIRC)
That is how the text comes from mIRC. I am using a script that I found on here to strip codes from binds which I originally thought was causing the problems, but even with that in place it is not picking up any text beginning with [-TRT-].
If I discard the backslashes it errors.
Any help would be appreciated.
Note: URL to the stripping code: http://forum.egghelp.org/viewtopic.php?p=77019 |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Fri Nov 07, 2008 1:22 pm Post subject: |
|
|
Using pubm-bindings, the mask must match "channel message", not "message". Change the binding to something like this instead:
| Code: | | bind pubm - {% [-TRT-]*} proc:parse |
_________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Neeq Voice
Joined: 01 Mar 2007 Posts: 8
|
Posted: Fri Nov 07, 2008 1:38 pm Post subject: |
|
|
Works perfectly.
Thanks for that, I was ready to pull my hair out. |
|
| 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
|
|