| View previous topic :: View next topic |
| Author |
Message |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Sun Aug 31, 2008 1:56 pm Post subject: run proc with two flags? |
|
|
can i run one proc with 2 flags?
like
bind pub D|V procname
D and V is flags..
tnx |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Sun Aug 31, 2008 6:03 pm Post subject: |
|
|
i try but no response with channel flag
| Code: | bind pub D|V [string trim $g_trigger]add g_add
on tcl.. |
user with D flag is ok.. but user with V channel flag bot doesnt response
| Code: | 01:00:14] <Botnick> [00:00] #Ultralord# whois ul
[01:00:15] <Botnick> HANDLE PASS NOTES FLAGS LAST
[01:00:15] <Botnick> uL no 0 V never (nowhere)
[01:00:15] <Botnick> #mychannel - never
|
on dcc chat.. why doesnt work ? |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Mon Sep 08, 2008 3:00 pm Post subject: |
|
|
| so ? :p |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Sep 08, 2008 3:19 pm Post subject: |
|
|
Worked fine for me. However, this might be important to note:
| Quote: | PUBM (stackable)
bind pubm <flags> <mask> <proc>
procname <nick> <user@host> <handle> <channel> <text>
Description: just like MSGM, except it's triggered by things said on a channel instead of things /msg'd to the bot. The mask is matched against the channel name followed by the text and can contain wildcards. If the proc returns 1, Eggdrop will not log the message that triggered this bind. PUBM binds are processed before PUB binds. If the exclusive-binds setting is enabled, PUB binds will not be trigged by text that a PUBM bind has already handled. |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|