Sponsored Links




Topic Options
Rate This Topic
#2656 - 07/18/08 05:32 PM Away notification script
boredcollegekid Offline
newbie

Registered: 12/19/07
Posts: 48
Loc: Tulsa, OK
Message channel:

Code:
on *:TEXT:*:#: {
  if ($me isin $1-) && ($away) && ($network == WyldRyde) && (%nickspro2. [ $+ [ $nick ] ] !== on) {
    if (%nickspro1. [ $+ [ $nick ] ] !== on) { 
      msg $chan Sorry $nick I'm currently away: $awaymsg $+ .
    }
    else { set -u60 %nickspro2. [ $+ [ $nick ] ] on }
    set -u60 %nickspro1. [ $+ [ $nick ] ] on 
  }
}


Notice User:

Code:
on *:TEXT:*:#: {
  if ($me isin $1-) && ($away) && ($network == WyldRyde) && (%nickspro2. [ $+ [ $nick ] ] !== on) {
    if (%nickspro1. [ $+ [ $nick ] ] !== on) { 
      notice $nick Sorry $nick I'm currently away: $awaymsg $+ .
    }
    else { set -u60 %nickspro2. [ $+ [ $nick ] ] on }
    set -u60 %nickspro1. [ $+ [ $nick ] ] on 
  }
}


Notes:
1. Trigger is your current nick
2. Triggerable only on this network, edit out ($network == WyldRyde) if you want to use it on more than one
2. Script ignores a user for 60 seconds after they say your nick to prevent spam
3. If you use the msg channel one you'll want to get approval of channels you want to use it in. otherwise turn # in the first line to channels you want to use

Thanks to H_M-XP for help with the ignore function


Edited by boredcollegekid (07/18/08 05:33 PM)
_________________________

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top
#2717 - 07/23/08 10:59 AM Re: Away notification script [Re: boredcollegekid]
TuxedoJericho Offline
newbie

Registered: 12/24/07
Posts: 42
Loc: Whitesburg, TN
Heh, nice BCK.

Tho, it was quite humorous when we both had the old code and flooded the channel we tested in. smile
_________________________
I am Gary "TuxedoJericho" Greenlee, and I support this message.

Top
#2992 - 08/28/08 02:43 PM Re: Away notification script [Re: TuxedoJericho]
evanrocks010 Offline
n00b

Registered: 05/26/08
Posts: 9
Loc: USA
Hey, I like this script a lot. I use XChat and have a mIRC bot. Is there a way to make the bot notify the user when they highlight me.
e.g.
<John>Ev4n
<Frizzle>Ev4n is currently not here because: <away reason>

If anyone could post a reply that would be awesome!

Top
#3207 - 09/14/08 06:03 PM Re: Away notification script [Re: boredcollegekid]
Jonny Offline
n00b

Registered: 08/31/08
Posts: 14
Loc: Newcastle,England,UK
How do you edit what networks it works on? do you use WyldRyde,IRC1,IRC2 or WyldRyde IRC1 IRC2?
_________________________
Jonnys Computer Show for the chatshow and technology you love

My Channel: #jonny on WyldRyde

Top
#3210 - 09/16/08 02:40 PM Re: Away notification script [Re: Jonny]
boredcollegekid Offline
newbie

Registered: 12/19/07
Posts: 48
Loc: Tulsa, OK
|| is the or switch in mIRC so it would be ($network == WyldRyde || Network2 || etc.)
_________________________

Top


Recent Posts
RSS Feed for Topics
by Jonny
Today at 05:00 PM
Lost Voice
by ruben32
Today at 10:52 AM
Newstracker
by DragonHeart
Yesterday at 10:08 AM
Rules for Voiced (+v) users in #Chris
by Christian
01/06/09 09:10 PM
CHannel Support? @ #Chris
by Mataniah
01/06/09 02:38 PM
Accept - Reject Pm script. Final Version.
by Phil
01/06/09 02:04 PM
Script to join channels with 30+ users.
by usrbingeek
01/05/09 02:32 PM
Ustream IRC Auto Identtifyer
by Dark_Aaron
01/05/09 10:42 AM
IRC Bot Platforms
by Sam Ferry
01/05/09 02:58 AM
Get a free forum for your channel!
by Sam Ferry
01/05/09 02:48 AM
Ban Appeal Process
by Sam Ferry
01/05/09 02:36 AM
Flood Protection
by Dark_Aaron
01/03/09 08:14 PM
Recent Pics
Xchat
mIRC on Linux
mIRC on Linux???
Who's Online
1 registered (Dark_Aaron), 8 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 512
Kat 281
Phil 116
iPhone 109
Freekie 88
Justin 81
CCMike 78
techman224 75
tengrrl 58
wirelesspacket 53
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.