Eggheads: What's wrong with this code?

Anser Quraishi anser at cox.net
Sat Oct 9 23:56:46 CST 2004


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! 


Anser Quraishi
http://www.anserq.net

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.eggheads.org/pipermail/eggheads/attachments/20041009/f052ff51/attachment.html>


More information about the Eggheads mailing list