mIRC Home    About    Download    Register    News    Help

Print Thread
alias thing #140932 01/02/06 05:05 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
i wish to to make alias /away so dialog is called on away
but then i cant execute /away "reason" coz it will call alias again :tongue:

any way to bypass this without using different alias name?

or maybe somehow with ON TEXT event ?


IceCapped
Re: alias thing #140933 01/02/06 05:07 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
/!away "reason"

but your asking for trouble replacing an original command, since any other script that might call /away well run the alias. (then again if u only run your own scripts u well know whats calling what)

Re: alias thing #140934 01/02/06 05:09 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
use /!away <reason>

The ! tells mIRC to use the built in command rather than the alias

Re: alias thing #140935 01/02/06 05:11 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
beat ya too it. You granny speed typer! lol

Re: alias thing #140936 01/02/06 05:13 AM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
hi all =)

sorry for bugging, but this simple thing:

on *:INPUT:*:{
if (away isin $1) { /away $2 | .echo -a You are marked as AWAY on reason $2 }
}

why not working ?


IceCapped
Re: alias thing #140937 01/02/06 05:37 AM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
works for me. Windows XP SP2, mIRC 6.16

Re: alias thing #140938 01/02/06 05:59 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
whats not working?

Re: alias thing #140939 01/02/06 06:09 AM
Joined: Dec 2002
Posts: 1,245
M
MikeChat Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
Quote:
why not working ?


Are you still using version 6.03?

Re: alias thing #140940 01/02/06 01:56 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
Quote:
Are you still using version 6.03?


yea =)

does that makes trouble?

Last edited by raZOR; 01/02/06 03:03 PM.

IceCapped