Well... unless you simply want to give the the item some Attack Speed bonus so that the hero will attack very fast... then i suppose you can make some sort of trigger... that checks each second when someone has this item... gives an extra attack speed bonus for 0.01 seconds and then takes it away, so that in case the wearer is attacking it will attack twice....
I don't know how to do it exactly but i hope it helps.