Hi Hypergrip. There are some problems in the scripts you presented.On 2002-06-18 08:18, Hypergrip wrote:
argh !
Problems again !
[snip]
Code: Select all
set h [nick2hand $victim]
if {$h == *} {
pushmode $chan -v $victim
} else {
if {![matchattr $victim |v $chan]} {
pushmode $chan -v $victim
}
}
Tainted, the point is that in case of e.g. opping, the script may respond to a "+oooooo nick nick nick nick nick nick" with a "-oooooo nick nick nick nick nick nick" or even 6 seperate lines with a -o. Or, to deop both the nick handing out the +o and the nick receiving it, with 6 lines -oo.On 2002-06-19 16:28, tainted wrote:
I didnt put the script on a bot, but by just glancing through it.. why wouldn't the bot respond to a +vvv with a -vvv? Same would go for a +vov user1 user2 user2 I believe, which by all means is correct. If its voicing the same user, like +vvv user1 user1 user1, then I bet you could compare the three users and if they are the same then just put out one -v mode, and send a bit less data. *shrug*