OK, here's the deal

I want to make a kicklist so that if a person is kicked from any channel that you were on the next time he comes in any room that you are in there is a message telling you that he had a previous offense.

So far I have this:

Code:
 On *:Kick:*:{
 write KickList.txt $nick 
}

On *:Join:*:{
  $read(KickList.txt,s, $+ $nick)
}
  


I know, I know it's horrible but I haven't tried scripting any mirc code for like 5 months now and I have almost completely forgotten anything that I knew about it so

PLEASE HELP