mIRC Home    About    Download    Register    News    Help

Print Thread
#219481 20/03/10 04:30 AM
R
russkris22
russkris22
R
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

#219501 20/03/10 04:44 PM
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
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
  }
}


#219504 20/03/10 05:45 PM
Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
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

RusselB #219525 21/03/10 02:21 AM
R
russkris22
russkris22
R
RusselB - Where about do I put this text..?


argv0 #219526 21/03/10 02:23 AM
R
russkris22
russkris22
R
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?

#219529 21/03/10 04:31 AM
Joined: Aug 2004
Posts: 7,168
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,168
The code I gave you would go into the Remote Script Editor (Alt + R)

#219531 21/03/10 05:43 AM
Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
You would type it in any editbox. And yes you could make it say whatever you wanted.


Link Copied to Clipboard