thanx alot now i know sort of how it works
but i had to change some things like you wrote :back. insted of .back: anyway.. this is how it looks now:
menu channel {
.Away
.Away: if %reason != %null /halt | /set %reason $?="Away reason:" | /away %reason | /ame is away. Reason: %reason
.back: if %reason == %null /halt | /away | /ame is back from: %reason | /unset %reason
}
as you can see i made so you cant go away twice or go back twice.