ok this is not my first away script. i have pretty much combined my away script, nick notifier, and added a few more add-ons.
**FEATURES***
marks you as away and back
Changes Your Nick to /nick $me $+ [AFK]
Notifies you if anybody says your name. it also tel you what they said and what channel they said it in.
A editable away message
if you notice anything about the script as in a bug. please tell me
i will probably update and add more add-ons to it if i get the time.
just paste into remotes. all the commands and stuff is right click> away> whatever
ENJOY!!!
dialog ASO {
title "Away Options"
size -1 -1 120 55
option dbu
button "Set Options", 1, 2 2 116 10
box "Away Nick Options", 2, 2 12 116 21
edit "[AFK]", 3, 6 20 108 10, read
box "Away Message", 4, 2 32 116 21
edit "", 5, 6 40 108 10
}
on *:dialog:aso:sclick:1:{
if (did == 1) {
if (!$did(3) set %ano )
}
else {
set %ano $did(3)
}
if (did == 1) {
if (!$did(5) set %awaymsg )
}
else {
set %awaymsg $did(5)
}
}
#nick_notify on
on *:TEXT:$($+(*,$me,*)):*:{ notice $me $nick has said you name on # $nick has said $1- $+
notice $nick I am [AFK] (for Reason: %awayreasom $+ ) i will get back to you asap.
}
#nick_notify end
menu * {
Away
.Set $me away: set %nick $me | set %Awayreason $$?="Enter Away Reason" | amsg ( $+ %awaymsg $+ ) (for Reason: %awayreason $+ ) | nick $me $+ [AFK] | away %awayreason | set %awaytime $ctime
.Set $me Back: amsg (Is Now Back From: %awayReason $+ ) (I Was Gone For: $duration($calc($ctime - %awaytime) $+ ) | nick %nick | away
.Turn Nick Notify $iif($group(#nick_notify).status == on,Off,On) : $iif($group(#nick_notify).status == on,.dis,.en) $+ able #nick_notify
.Away Options: dialog -m aso aso
}