mIRC Home    About    Download    Register    News    Help

Print Thread
#219481 20/03/10 04:30 AM
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
OK.. So I got sBNC.

I have a few questions if someone can help that would be cool.

I know how to goto the menu and manually set an away message. Is there any way to do this automatically?

say when I am going to close down and finish for the day
I usually change my nick to russ|OFF but have to manually put a message to say their message has made it to me and they should include an email so I can get back to them.

So is there any way I can set mIRC to do this automatically when I change me nick to russ|OFF it will set the away notice

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
As a setting in mIRC, I'm not aware of a way to do this.
As a script running in mIRC, however, this should work.
Code:
on me:*:nick:{
  if (*OFF iswm $newnick) {
    .away I'm gone for the day.  E-mail me at myname@email.address.com
  }
}


Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Why not think about it the other way?

Instead of having mirc set away when you change your nick, why not change your nick when you set away? That seems simpler. Type this once:

Code:
/alias /goaway nick russ|AWAY | away Gone for the day }


And then type /goaway whenever you want to set away


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
RusselB #219525 21/03/10 02:21 AM
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
RusselB - Where about do I put this text..?


argv0 #219526 21/03/10 02:23 AM
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
argv0 - Would I just type this into where you chat? or the server screen thingy.

And the text "Gone for the day" could that be replaced with whatever message I wanted?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
The code I gave you would go into the Remote Script Editor (Alt + R)

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
You would type it in any editbox. And yes you could make it say whatever you wanted.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard