Typo you could learn something just as well.
msg $chan I am currently $iif($away == $true,Away,Here) could be
msg $chan I am currently $iif($away,Away,Here)