I made it log out if no items are detected, it will just high alch, nothing more nothing less, if there are no items it will log out immediately and stop script :P Are you attempting to alch an unstackable item?
Also, for that curse option, make sure to select only CURSE, not CURSE + ALCH, it is a common mistake for some reason