Yeah, forgot one thing, the RusselB's code will work but that's not what should be used, here is the correction :
Code:
if ($hget($1,$hget($1,%a).item) == $null) hdel $1 $hget($1,%a).item

Last edited by Wims; 18/06/09 04:26 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel