When you use:
/hadd [table] [item] [value]
If an item with the same name already exists, mIRC will automatically replace it with the new value.
From the help file:
If the item you are adding already exists, the old item is replaced.
That being said, this is not an identifier. So you really don't need to place return statements. Rather, /echo out Invalid parameters or some other suitable error.