mIRC Home    About    Download    Register    News    Help

Print Thread
alias help #117514 16/04/05 05:30 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
/version gets you server version info
and triggers raw 351 and 005

how can i in alias halt raw 005 but only for that alias ? (/version { })
so in other situations (like on connect) raw 005 still works ?


IceCapped
Re: alias help #117515 16/04/05 06:19 PM
Joined: Apr 2005
Posts: 18
B
BarGarth Offline
Pikka bird
Offline
Pikka bird
B
Joined: Apr 2005
Posts: 18
it isn't a very nice way to do it but it works for me

Code:
 
raw 005:*:{
  if (%version) { unset %version | haltdef }
}
alias version {
  set %version 1
  version
}
 

Re: alias help #117516 16/04/05 10:30 PM
Joined: Apr 2005
Posts: 1,009
raZOR Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Apr 2005
Posts: 1,009
doesnt work but i fixed it :P
itz problem coz ur alias always loop :tongue:

thanks anyway

Last edited by raZOR; 16/04/05 10:39 PM.

IceCapped
Re: alias help #117517 16/04/05 10:32 PM
Joined: Dec 2002
Posts: 59
A
Aenox Offline
Babel fish
Offline
Babel fish
A
Joined: Dec 2002
Posts: 59
try halt instead of haltdef and in alias version, .raw VERSION.