When you set yourself as away, thats all you are doing. The advertisements you see all the time are custom scripts, that users have made/downloaded. Here is a simpel one to give you some idea..
menu channel,nicklist,status {
Away ( $+ $iif($away, Away, Back) $+ )
.$iif($away, Return, Go Away): /away.toggle
}
alias away.toggle {
if ($away) {
/nick $remove($me, |Away)
/amsg I have returned - Away Reason: $awaymsg - Time Away: $duration($awaytime)
.timeraway off
.away
}
else {
/nick $+($me,|Away)
/away $$?="Enter Away Reason:"
/amsg I have stepped away - Reason: $awaymsg - Time Leaving: $asctime(hh:nn:ss tt)
.timeraway 0 1800 /away.advertise
}
}
alias away.advertise {
/amsg I am away - Reason: $awaymsg - Time Away: $duration($awaytime)
}
on 1:INPUT:*: {
; auto-return on text
if ($away) { /away.toggle }
}
and by simple, i mean simple >:D