mIRC Homepage
Posted By: kash1f problem in alias - 26/10/04 10:42 AM
I wanted to place multiple bans with 1 alias command.
so I used the code like that:
/allban /ban ip | /ban ip | /ban ip ! and so on and on

It is working too but not perfect! the same alias working fine on other's mirc's.
Problem is when I run this alias it bans ips one by one
For Example: kash1f sets mode : +b ip1
kash1f sets mode : +b ip2
kash1f sets mode : +b ip3

not like : kash1f sets mode +bbb ip1 ip2 ip3

Please help me in this alias.

Thanks.
Posted By: Mentality Re: problem in alias - 26/10/04 10:47 AM
/alias allban mode # +bbb $address($$1,3) $address($$1,2) $address($$1,4)

Do you mean that? That will ban *!*user@*.domain, *!*@hostname.or.ip and *!*@*.domain.

The '3' '2' '4' etc. are masks, see /help $mask for info.

Regards,
Posted By: kash1f Re: problem in alias - 26/10/04 11:03 AM
I have list of hosts like *!*@*xyz.com , and i putted all in alias!!
, your alias will ask for addresses input , right??

Posted By: Mentality Re: problem in alias - 26/10/04 11:20 AM
Ah, I misunderstood. It will not ask for the address input, if you use /allban nickname then it will ban 3 types of addresses for the nickname you specify.

However, if you have a set list of addresses to ban already, then indeed, you can just use /mode #channel +bbb *!*@*xyz.com *!*@*abc.com *!*@*arnie.com and so forth.

Regards,
© mIRC Discussion Forums