I'm writing up a Blacklist using Hash Tables;

The Table's name is blacklist, and when I add a nick/address I'm using;

/hadd -m blacklist address reason

In my events I have;

on @*:join:#: {
if ($hmatch(blacklist,$address($nick,5))) {
ban # $nick 2
kick # $nick Blacklisted: (reason goes here)
}
}

What I am having trouble with, is recalling the value (reason) for the item (address) returned by $hmatch. confused

If you could point out a solution to this problem for me, it would be much appreciated. smile

Last edited by Joe_Astor; 09/12/05 10:43 PM.

When Joe Astor Hits The Street,
The Hottest Thing On Wheels Isnt Always The Car