mIRC Home    About    Download    Register    News    Help

Print Thread
#153920 24/07/06 02:44 PM
Joined: Jul 2006
Posts: 53
O
Babel fish
OP Offline
Babel fish
O
Joined: Jul 2006
Posts: 53
Let's suppose I was running a fresh copy of mirc and i set /away 'testing'.

If i disconnect from the server , away will get reset and I am no longer set away. How would I keep my away set , even after a ping timeout or when i /quit.

#153921 24/07/06 03:35 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
one way is to set a var with your away message and on connecting check for it and prompt to continue away
Code:
alias goaway {
  set %awaytest $input(Input away reason,e,Away System)
  away %awaytest
}
alias backaway { unset %awaytest }
on *:connect:{
  if (%awaytest) {
    var %awaystill = $input(Settings show you away $crlf Are You Back?,yk5)
    if (%awaystill == $false) { away %awaytest }
    else { unset %awaytest }
  }
}

Clicking the no button, or not clicking at all should return $false, and the script would set you away again with the reason stored in %awaytest
Click yes and it unsets %awaytest

#153922 24/07/06 04:39 PM
Joined: Jul 2006
Posts: 53
O
Babel fish
OP Offline
Babel fish
O
Joined: Jul 2006
Posts: 53
thank you for the example, i will use this with my current away script I already started.

Last edited by oblivious; 24/07/06 04:46 PM.
#153923 26/07/06 03:33 PM
Joined: Jul 2006
Posts: 26
I
Ameglian cow
Offline
Ameglian cow
I
Joined: Jul 2006
Posts: 26
So what your saying, is you can add that script, turn it on, and you are still on the mIRC chatroom? Even when the computer is off?


Very new to mIRC, don't know much.
#153924 26/07/06 07:48 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
on irc there is a command /away , this command allows you to put a "sticky note" of sorts that lets people know you are away from the keyboard, and when you might be back or whatever comment you care to make.

what the Original Poster wanted was a way that if they had set themself "away" and then were disconnected from the server in any way, that when they reconnected their status and comment for the "away" would be turned back on.

in mIRC, type /help /away


Link Copied to Clipboard