Hello Guys! been away from mIRC for a long time now. im coming back with a new script that i hope you all like. it is an Away System. just right click and set as away and it will ask for a reason why you are gone and then right click again and you can turn the nick notifier on or off and change the options as well.
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:init:*:{
did -ra ASO 3 %me $+ [AFK]
}
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)
}
dialog -x aso aso
}
#nick_notify on
on *:TEXT:$($+(*,%me,*)):*:{ .echo $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 $+ ) | set %me $me | 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
}
okay. going to update the script in a min. and if i dont use the %me variable. it will change my name from pwnisher3[AFK] to pwnisher3[AFK] because that is what the $me is when it would change it. the %me variable is set to the $me it is before it changes to it will change pwnisher3 to pwnisher3[AFK] and then pwnisher3[AFK] to pwnisher3