Top

Away System v1.0


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Oct 18, 2009
Last Updated  Oct 21, 2009
Tags  away  back  mirc  nick  off  on  system  totifier 

Introduction

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.

Grab the Code

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

  (12)  RSS
Ghost-writer
Comments: 256
 
mIRC Snippet:  Away System v1.0
Posted on Oct 18, 2009 4:57 pm
notice $me != echo?
`Green
Comments: 34
 
mIRC Snippet:  Away System v1.0
Posted on Oct 18, 2009 5:17 pm
what?
sunslayer
Comments: 266
 
mIRC Snippet:  Away System v1.0
Posted on Oct 18, 2009 7:47 pm
hes sayin you can use /echo instead of /notice
but its really just a preference
FordLawnmower
Comments: 411
 
mIRC Snippet:  Away System v1.0
Posted on Oct 18, 2009 7:59 pm
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.
sunslayer
Comments: 266
 
mIRC Snippet:  Away System v1.0
Posted on Oct 18, 2009 8:39 pm
its all for teh lulz.
Jethro_
Comments: 437
 
mIRC Snippet:  Away System v1.0
Posted on Oct 19, 2009 12:48 am
Why would you set a %me variable for $me when you could've used $me itself?
sunslayer
Comments: 266
 
mIRC Snippet:  Away System v1.0
Posted on Oct 19, 2009 5:20 am
Code:
set %nick $me
Code:
set %me $me
lol'd
PePpEr
Comments: 17
 
mIRC Snippet:  Away System v1.0
Posted on Oct 19, 2009 4:13 pm
nice script... just that i would of used echo instead of noticeing myself lol :-P
SnoooP
Comments: 340
 
mIRC Snippet:  Away System v1.0
Posted on Oct 19, 2009 5:30 pm
I agree with all those ^^^^

Pretty good script but echo should definately be used instead of notice
anup4khandelwal
Comments: 3
 
mIRC Snippet:  Away System v1.0
Posted on Oct 20, 2009 1:18 am
Pretty good script
`Green
Comments: 34
 
mIRC Snippet:  Away System v1.0
Posted on Oct 21, 2009 5:22 pm
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
sunslayer
Comments: 266
 
mIRC Snippet:  Away System v1.0
Posted on Oct 22, 2009 5:22 am
Code:
.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

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom