| View previous topic :: View next topic |
| Author |
Message |
wac Halfop

Joined: 10 Dec 2006 Posts: 80 Location: in my cardboard box
|
Posted: Wed Dec 17, 2008 12:20 am Post subject: execute a bind when the command starts with a [ or a space |
|
|
I've tried several binds to execute a line which starts with a [ or better yet to strip the brackets out all together to no avail.
something like this is what I need:
bind pubm * "*\[*bob*\]*" my::proc _________________ I see j00! |
|
| Back to top |
|
 |
tomekk Master

Joined: 28 Nov 2008 Posts: 255 Location: Oswiecim / Poland
|
Posted: Wed Dec 17, 2008 7:06 am Post subject: |
|
|
u mean:
| Code: | bind pub - {[bob]} zonk
proc zonk { nick uhost hand chan arg } {
putquick "PRIVMSG $chan :It works!"
}
|
| Quote: | 12:06:35 <@tomekk> [bob] a b c d e
12:06:36 < botty> It works! |
:> |
|
| Back to top |
|
 |
|