alias AFK { set %status AWAY set %awayreason $1 set %awaytime $asctime(HH:NN:SS) /amsg I am currently away because of: %awayreason and i left at %awaytime } alias BACK { set %status BACK /amsg I am back from %awayreason ( $+ %awaytime $+ ) unset %awayreason unset %awaytime } ON *:TEXT:*GB*:#: { if (%status == AWAY) { /notice $nick I am current away because: %awayreason and i left at %awaytime $+ . I will be back shortly and will answer your needs then. } }