I know what the error is, sorry about that. Here's what happened.
I set it to message yourself because then it opens a query window so you can read your messages and they're all in one spot and not spread throughout the channel like //echo's.
Here's an updated segment (Btw I fixed this in the script above so just copy paste again it'll work)
alias f00p {
if (%p00fswitch == on) {
nick %p00fnickonline
set %p00fswitch off
amsg I'm no longer away! Reason Gone: %p00freason $+ . Time Away: $replace($duration($calc($ctime - %p00ftime)),wks,w,wk,w,days,d,day,d,hrs,h,hr,h,mins,m,min,m,secs,s,sec,s)
unset -s %p00ftime
unset -s %p00freason
//echo 7,1You can read the beeps people did on you while you were away by reading these messages!
I am trying to tihnk of a way to make the messages get saved as variables, and when you return have it relay them all back to you (or allow you to use a command to retrieve them) however I am still trying to figure this out so give me some time.
Thank you for the compliments though! I'll fix any further issues
EDIT: pwnisher if you do end up creating a dialog please provide me with a copy, I'm still learning and that'd really help me. I'll research it a bit after I figure out the beep issue!