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: 40
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 Online   sleepy
n00b

Registered: 08/31/08
Posts: 9
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

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
Rules for Voiced (+v) users in #Chris
by Axlin
Yesterday at 05:36 PM
WyldRyde Channel Management Script **BETA**
by usrbingeek
11/19/08 12:35 AM
Saying Hello
by cirian75
11/18/08 02:13 PM
Multiple Network question
by usrbingeek
11/16/08 10:00 PM
Recruiting new ops and half ops in #iPhone
by techman224
11/14/08 07:09 PM
Common Commands Script
by burace17
11/14/08 02:55 PM
Rules for Voiced Users being Enforced More
by abcd
11/14/08 08:33 AM
New bot policy
by Freekie
11/11/08 10:11 PM
my favorite channels on WR
by sbushfan11
11/10/08 05:42 AM
Volunteer Half-Op Positions Available In My New Ch
by mikem
11/08/08 03:16 PM
Script Bots. Need One?
by Samuel
11/07/08 10:10 PM
Services Help Version 2.4
by Jerry
11/06/08 09:41 PM
Recent Pics
mIRC on Linux???
Computer Spam o_O
My Windows Desktop
Who's Online
1 registered (Ryan), 5 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 469
Kat 266
iPhone 108
Phil 91
Freekie 85
techman224 75
CCMike 73
Justin 70
tengrrl 55
wirelesspacket 52
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.