This away system is very easy , but i think very usefull. To set your self away , just type /away and it will ask you into 2 inputs (one for each one) the away nick and the away reason. After filling the inputs , the snippet will display a msg. to all channels you are in (/ame.) saying your away reason and changing nick to the away nick (which were asked before by inputs).
alias away {
var %awaynick $$?="away nick?"
var %awayreason $$?="away reason"
set %mynick $me
ame I am now away, - %awayreason ..
away %awayreason
nick %awaynick
}
alias back {
ame I am back from,- $awaymsg (after $duration($awaytime) $+ )
away
nick %mynick
}