Away System v1.0

By `Green on Oct 18, 2009

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 
} 

Comments

Sign in to comment.
sunslayer   -  Nov 23, 2009

@oldbuck just type

//set %me $me | .disable #nick_notify
 Respond  
OldBuck   -  Nov 23, 2009

Can someone help me installing this? I pasted on my Remote tab, saved to "Away.ini" and in an instant ppl started to complain that anything they said would trigger my (non-existant) Away msg.

Where do I put it?

 Respond  
sunslayer   -  Oct 22, 2009
.Set $me away:set %Awayreason $$?="Enter Away Reason" | amsg ( $+ %awaymsg $+ ) (for Reason: %awayreason $+ ) | nick $me $+ [AFK] | away %awayreason | set %awaytime $ctime 

will work fine without the vars

 Respond  
`Green   -  Oct 21, 2009

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

 Respond  
anup4khandelwal   -  Oct 20, 2009

Pretty good script

 Respond  
SnoooP   -  Oct 19, 2009

I agree with all those ^^^^

Pretty good script but echo should definately be used instead of notice

 Respond  
PePpEr   -  Oct 19, 2009

nice script... just that i would of used echo instead of noticeing myself lol :-P

 Respond  
sunslayer   -  Oct 19, 2009
set %nick $me
set %me $me

lol'd

 Respond  
Jethro   -  Oct 19, 2009

Why would you set a %me variable for $me when you could've used $me itself?

 Respond  
sunslayer   -  Oct 18, 2009

its all for teh lulz.

 Respond  
FordLawnmower   -  Oct 18, 2009

In my opinion, noticing yourself just demonstrates blatant disregard for network resources.
Echo is a much more appropriate method of sending a message to Yourself.

 Respond  
sunslayer   -  Oct 18, 2009

hes sayin you can use /echo instead of /notice
but its really just a preference

 Respond  
`Green   -  Oct 18, 2009

what?

 Respond  
Ghost-writer   -  Oct 18, 2009

notice $me != echo?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.