Since the /away is mIRC's internal command, you need to put an exclamation mark for:
!away $1-
and
!away