Sounds to me like you want an alias.
Code:
alias alpha { set %alpha 1 }

Or if you just want to enter the command anywhere and not have it display..
Code:
On *:INPUT:#: if ($1- == alpha) { set %alpha 1 | halt }


"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke