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

Joined: 06 Nov 2006 Posts: 255
|
Posted: Tue Oct 07, 2008 5:01 pm Post subject: del user with specific channel flag |
|
|
my proc:
| Code: | bind part - * flag_part
proc flag_part {nick uhost handle channel msg } {
global flagchannel mychannel
if { [matchattr $handle V] } {
deluser $nick -V
}
} |
How i can do that for Only channel flag.. If someone Have Only one flag ( V ) on channel flag then will be deleted.. but if someone have this flag Global flag then dont del that nick.. |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Tue Oct 07, 2008 5:05 pm Post subject: |
|
|
try something like this:
| Code: | | matchattr $handle -V&+V $channel |
Also, why the -V with deluser? Should only be "deluser <handle>" _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
ultralord Master

Joined: 06 Nov 2006 Posts: 255
|
Posted: Thu Oct 09, 2008 1:15 am Post subject: |
|
|
yes -V isnt nesessery
thnx.. i am gonna test it |
|
| Back to top |
|
 |
|