Top

Brb And Back


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Oct 13, 2009
Last Updated  Oct 13, 2009
Tags  afk  aways  back  bbl  brb  g2g  tracker 

Introduction

My Brb and Back Tracker for my bot Terran on SwiftIRC (irc.swiftirc.net)

Triggers : Brb, bbl, afk, g2g and Back


And yes, i know you can put it in one trigger, i didn't.
Don't like it? Deal with it, or edit it yourself.


Grab the Code

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;Zerg's BRB and BACK Scripts--------;;
;;Coded By Zerg----------------------;;
;;Contact on: Irc.swiftirc.net 6667--;;
;;#zergs_list #Terran or #gs-pure----;;
;;All rights reserved.---------------;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
on *:text:*:#:{
  if (brb isin $1-) || (afk isin $1-) || (g2g isin $1-) || (bbl isin $1-) {
    if (%away [ $+ [ $nick ] ] == $null) { 
      set %away [ $+ [ $nick ] ] $2- 
      if (%away [ $+ [ $nick ] ] == $null) { set %away [ $+ [ $nick ] ] n/a } 
      msg $chan 2[4 Away Status 2] [4 $nick is now: Away 2] [4 Reason: %away [ $+ [ $nick ] ] 2] 
      set %away.time. $+ $nick $ctime 
    } 
  }
}
on *:TEXT:*back*:#:{ 
  if (%away [ $+ [ $nick ] ] != $null) { 
    msg $chan 2[4 Away Status 2] [4 $nick is now back! 2][4 Reason for being afk: %away [ $+ [ $nick ] ]  2]  [ 4 Time Away: $duration($calc($ctime - %away.time. [ $+ [ $nick ] ] )) 2] 
    unset %away.time. $+ $nick $ctime 
    unset %away [ $+ [ $nick ] ] 
  } 
}

Comments

  (3)  RSS
TheNitelyfe
Comments: 46
 
mIRC Snippet:  Brb And Back
Posted on Oct 13, 2009 6:38 pm
VERY USEFUL CAUSE EVERYONE GIVES A DAMN WHEN YOU ARE AND AREN'T AWAY NOT TO MENTION THEIR LOVE FOR ANNOYING RETARDED SCRIPTS TO LET US KNOW WHEN SOMEONE IS AWAY OR BACK
Zerg
Comments: 16
 
mIRC Snippet:  Brb And Back
Posted on Oct 13, 2009 8:22 pm
:o


IK YOU


YOUR IN #MSL ALL THE TIME



:OOOOOOo!!!!
Jethro_
Comments: 437
 
mIRC Snippet:  Brb And Back
Posted on Oct 14, 2009 12:02 am
Suggestion:
Code:
on $*:TEXT:/(afk|b(rb|bl|ack)|g2g)/iS:#:{
  if (%away [ $+ [ $nick ] ] == $null) {
    set %away [ $+ [ $nick ] ] $2-
    msg $chan 2[4 Away Status 2] [4 $nick is now: Away 2] [4 Reason: %away [ $+ [ $nick ] ] 2]
    set %away.time. $+ $nick $ctime
  }
  if ($regml(1) == back) && (%away [ $+ [ $nick ] ] != $null) {
    msg $chan 2[4 Away Status 2] [4 $nick is now back! 2][4 Reason for being afk: %away [ $+ [ $nick ] ]  2]  [ 4 Time Away: $duration($calc($ctime - %away.time. [ $+ [ $nick ] ] )) 2]
    unset %away*
  }
}

Commenting Options

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

  
Bottom