Hey Mates

I'm getting nutz over a problem, and maybe i'm way to tired now, way to stupid or way to blind, but I dun see why this doesn't work.

OK, here is the deal. We are having some problems with @find-floods in a chan, and I'm tired now of all those ppl who dun listen. So I decided to write a lill script, which will handle this, but I'm stuck near at the start.

I'll just post the code now and explain this unbelivable amount of lines after that. wink

<-- start -->
Alias checkflood {
if ( [ % $+ [ puf $+ [ $1 ] ] ] != $null) {
/notice $me [ % $+ [ puf $+ [ $1 ] ] ]
}
else {
set -u10 [ % $+ [ puf $+ [ $1 ] ] ] $nick
}
}

on 1:text:@find*:#enter_chan_u_want:checkflood
<-- end -->

OK, what should this thingy do?

If a person types @find in the chan, a var should be created, which has the name "puf" + the username, for example
set %pufANYNICK ANYNICK

If the nick with the name ANYNICK types @find again within 10 seconds (for now) the script should just send me a notice (for now).

But atm neither the -u10 works, which I guess is why the second problem occurs, and I get a notice if ANY user types @find. I dun know why. but for some reason - as I can see it - its always the same var which is used.

So any ideas where my mistake is?