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]
jonnyisgeek Offline
n00b

Registered: 08/31/08
Posts: 22
Loc: Newcastle,England,UK
How do you edit what networks it works on? do you use WyldRyde,IRC1,IRC2 or WyldRyde IRC1 IRC2?
_________________________
The JonnyisGeek Blog
Talk to me!

Top
#3210 - 09/16/08 02:40 PM Re: Away notification script [Re: jonnyisgeek]
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
#4046 - 01/19/09 11:06 AM Re: Away notification script [Re: boredcollegekid]
jonnyisgeek Offline
n00b

Registered: 08/31/08
Posts: 22
Loc: Newcastle,England,UK
hmm, i tryed replacing WyldRyde with my own network name, and it hasnt worked, could you try and figure out why?
_________________________
The JonnyisGeek Blog
Talk to me!

Top
#4047 - 01/19/09 11:31 AM Re: Away notification script [Re: jonnyisgeek]
Hex Offline
n00b

Registered: 01/19/09
Posts: 1
Loc: Rugby, UK
type "//echo -a $network" on your network, make sure you replace WyldRyde with what is shown once you type that command smile

Top
#4157 - 01/30/09 10:25 AM Re: Away notification script [Re: Hex]
iAlex Offline
Over 50 posts

Registered: 09/01/08
Posts: 90
Loc: Kongsvinger, 2209 Norway.
I would find scripts like this really annoying. Let's say the user is named "Mac" or "iPhone" imagine how annoying it is to get a notice every time you say the word mac. Also, most users marks them self as AFK, or away. If the user doesnt find you away by that.. he/she has a problem
_________________________
Almost every question can be answered on Google. People is just to lazy to search for it..

Top
#4278 - 02/18/09 10:15 PM Re: Away notification script [Re: iAlex]
FordLawnmower Offline
Over 100 posts

Registered: 02/15/09
Posts: 107
Loc: Ohio
I totally agree with you iAlex. I'm sure they have them turned off by now though, haha.
Keep on scripting though boredcollegekid. Your scripting shows lots of promise and it works just like you intended it to smile
_________________________
If you already know everything, You can never learn anything :P

Top


Recent Posts
Using the word "[censored]"
by UncleJohn
07/02/09 07:34 PM
On Vacation July 3 - July 20 2009
by Brigitte
07/01/09 05:11 PM
User posted ads on twitter
by Bkil
07/01/09 01:03 AM
Live Chat program
by OmniDragon
07/01/09 12:26 AM
Rules for Voiced (+v) users in #Chris
by Alex F.
06/29/09 02:55 AM
Accidental loss of voice
by Pctech37
06/25/09 07:00 PM
Devoiced?
by Fiber
06/25/09 02:12 PM
TwitFeed Twitter RSS Feed Poster for mIRC
by FordLawnmower
06/24/09 10:46 PM
Looking Twitter mIRC Script
by FordLawnmower
06/23/09 10:24 PM
I am sorry about that recent argument Fort
by Chirag
06/23/09 01:39 AM
Hello everyone!
by Karol
06/22/09 05:24 PM
DerekSalem -- Loss of Voice
by DerekSalem
06/19/09 06:57 PM
Recent Pics
This is important!
Newest outcast of my mIRC
ScreenShot of Ford_Lawnmower's mIRC Script
(Views)Popular Topics
Rules for Voiced (+v) users in #Chris 390533
How did you come up with your nickname? 37228
Triggers (like !rules) 20375
What do you guys think the best IRC client is? 19657
Kat 15212
geeks.pirillo.com flash chat code 14018
Recruiting new ops and half ops in #iPhone 12938
Volunteer Half-Op Positions Available In My New Ch 12312
Brag Script 11319
w00t! New stuff is always good! 10974
Who's Online
1 registered (Sargun), 0 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Today's Birthdays
No Birthdays
Top Posters
usrbingeek 612
Kat 343
Phil 168
Justin 138
iPhone 117
Freekie 117
FordLawnmower 107
CCMike 97
iAlex 90
tengrrl 80
Top Posters (30 Days)
Kat 16
Brigitte 14
Bkil 13
Fort 13
Fiber 13
usrbingeek 11
FordLawnmower 9
Freekie 7
CCMike 7
B00 7
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.