mIRC Home    About    Download    Register    News    Help

Print Thread
Send Email on Notify? #253380 11/06/15 11:57 PM
Joined: Jun 2015
Posts: 6
J
jnhjnh Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jun 2015
Posts: 6
Is there a way to script sending an email when someone on my Notify list arrives?

Thanks!

Re: Send Email on Notify? [Re: jnhjnh] #253957 15/07/15 06:42 AM
Joined: Jun 2015
Posts: 6
J
jnhjnh Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jun 2015
Posts: 6
Is this impossible?

Re: Send Email on Notify? [Re: jnhjnh] #253965 15/07/15 03:09 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
No, it can be done true socket's, did you try search the net for a script that can send e-mail?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Send Email on Notify? [Re: sparta] #253975 16/07/15 07:03 PM
Joined: Jun 2015
Posts: 6
J
jnhjnh Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jun 2015
Posts: 6
Yes, I found scripts that will send email.

What I don't know how to do is trigger sending that email when someone shows up on my Notify list.

I'd also like the email to contain the Nick of the person who just signed in as well, if that's possible.

And now that I think about it, I'd be just as happy if I could make a call to a webpage with the nickname as a variable. Something like:

http://www.site.com/?nick=$nick

Any help on any of those would be appreciated. smile

Thanks!

Last edited by jnhjnh; 16/07/15 09:06 PM.
Re: Send Email on Notify? [Re: jnhjnh] #254342 04/08/15 02:35 PM
Joined: Jun 2015
Posts: 6
J
jnhjnh Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jun 2015
Posts: 6
Anyone know how to make mIRC do something (anything) when someone on your notify list appears?

Is there a notify event? OnNotify or something like that?

Re: Send Email on Notify? [Re: jnhjnh] #254343 04/08/15 06:03 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
This will let you know if the nick in your notify list is online or go offilne. Just put it in your remote. ALT + R in mirc)

Code:
on *:notify: { echo -a Nick in notify list $nick is online. }
on *:unotify: { echo -a Nick in notify list $nick has quit irc, or changed nick. }


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Send Email on Notify? [Re: sparta] #254350 05/08/15 10:48 PM
Joined: Jun 2015
Posts: 6
J
jnhjnh Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
J
Joined: Jun 2015
Posts: 6
Awesome! Thank you, sparta!

Works great!

Now I'm trying to launch a URL like this:

on *:notify: { /url -a www.site.com/?a=$nick }

but it's literally putting "$nick" in the string rather than translating it to the actual nickname. Do I need to escape it somehow to work with the /url command?

Thanks again!

Re: Send Email on Notify? [Re: jnhjnh] #254351 05/08/15 10:57 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
$+(www.site.com/?a=,$nick)


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net