menu channel {
Away
.Away: set %reason $?="Enter Your Away Reason:" | away %reason | me is away. Reason: %reason
.Back: unset %reason | away | me is back from away!
}
set %reason $?="Enter Your Away Reason:" prompts you for a reason to be away, then sets a variable to hold your reason for being away
away %reason sends the away command to the server and includes your reason
me is away. Reason: %reason announces in the active channel that you are away and shows your reason
unset %reason clears the away reason from the variable
away sends a blank away command to the server, which clears the away status and reason from your whois information
me is back from away! announces in your active channel that you are now not away