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: 42
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: 32
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


Recent Posts
!add !edIT !del for a mIRC bot
by Jerry
Yesterday at 06:41 PM
Kat
by techman224
08/18/08 10:11 PM
Hello #turtles People....
by techman224
08/18/08 10:06 PM
Looking for Half-ops and Ops for #techman
by techman224
08/18/08 09:57 PM
New Advertising Channel #advertising.
by techman224
08/18/08 09:43 PM
Rules for Voiced (+v) users in #Chris
by Bloomedis
08/15/08 04:12 AM
Chris Thanks
by iPhone
08/15/08 03:52 AM
Who ownes Wyldryde?
by techman224
08/14/08 09:10 AM
Spamming and other general notes...
by Zetacon
08/14/08 01:48 AM
New game on Wyldryde.
by techman224
08/13/08 09:36 PM
Flash Chat and strange 'flashing' display
by techman224
08/13/08 06:51 PM
Unable to view user profiles?
by boredcollegekid
08/12/08 06:24 PM
Recent Pics
Old school IRC
How to use Google!
TIX
Who's Online
0 Registered (), 5 Guests and 12 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 426
Kat 228
iPhone 86
Phil 86
Freekie 77
CCMike 63
Justin 59
wirelesspacket 51
KY_Wildcat 48
tengrrl 46
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.