Eggheads: What's wrong with this code?

Anser Quraishi anser at cox.net
Sun Oct 10 00:34:41 CST 2004


Yup! Otherwise, the script runs fine ;) Barkerjr was nice enough to help
me with the script, thanks to you as welll :)

On Sat, 2004-10-09 at 23:07, Dariusz Kulinski wrote:

> Hello Anser,
> 
> Saturday, October 9, 2004, 10:56:46 PM, you wrote:
> 
> >   bind pub o|o -vb pre:viriiban
> > proc pre:viriiban {n u h c t} {
> > set preban [getchanhost $t $c]
> > newchanban $c *!$preban@$h "You're infected with a virus, please join #vh for virus removal."
> > putkick $c $t "You're infected with a virus, please join #vh for virus removal."
> > }
> 
> > It's supposed to ban a user with the kick message: You're
> > infected with a virus, please join #vh for virus removal., when an
> > op triggers the command -vb nick on a channel.
> > THANKS! 
> 
> Ha ha, my script banned the caller, I just noticed that now, LOL :)
> 
> Thanks for noticing it, well it's a matter of changing newchanban
> argument.

Anser Quraishi
http://www.anserq.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.eggheads.org/pipermail/eggheads/attachments/20041009/7990b521/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smiley-3.png
Type: image/png
Size: 819 bytes
Desc: not available
URL: <http://lists.eggheads.org/pipermail/eggheads/attachments/20041009/7990b521/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smiley-4.png
Type: image/png
Size: 822 bytes
Desc: not available
URL: <http://lists.eggheads.org/pipermail/eggheads/attachments/20041009/7990b521/attachment-0001.png>


More information about the Eggheads mailing list