mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2012
Posts: 7
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Sep 2012
Posts: 7
I'm not an advanced user of IRC but am running mIRC and would love to add a feature similar to the kick command of "/k <username> <reason>" however I would like to perform a "Regular Ban" with this command line.

Regular ban being: /ban #channel *!*ident@*.whatever.net

Can anyone walk me through how to set this up?

Thanks!

Joined: Jun 2007
Posts: 933
5
Hoopy frood
Offline
Hoopy frood
5
Joined: Jun 2007
Posts: 933
You can create a new alias in Alt+R > Aliases by adding this code in the Aliases tab.
Code:
/b /ban -k # $$1 3 $2-

This will ban and kick the user via: /b <nick> [reason]
Nick is required, reason is optional.

See /help $mask if you want another ban mask than "3".

Joined: Sep 2012
Posts: 7
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Sep 2012
Posts: 7
Thanks a ton

Joined: Sep 2012
Posts: 7
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Sep 2012
Posts: 7
Slight issue....

Seems the new command is not filtering 100%...but I'm not sure why.

usually I do a manual enter of
Code:
/mode #channel +b @ChatAbout-59E2F083.dynamic.dsl.as9105.com


Any correction on this?
Probably provided a wrong ban type when I stated a #3 "standard ban" before... Not sure how to correct this on my own being I don't know enough about scripting. Sorry for the mistake on my end.


Right now I'm entering the command and for banning
4f91a799@ChatAbout-767A0AB2.mibbit.com

I'm seeing a return of
+b *!*4f91a799@*.mibbit.com

I'd like to see a return of
+b *!*@ChatAbout-767A0AB2.mibbit.com

Last edited by SonicOrbStudios; 20/09/12 08:41 PM.
Joined: Jul 2007
Posts: 1,129
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
That is a type two ban. You may use
Code:
//ban # nickhere 2
replace "nickhere" with the actual chat nickname of his or hers.

Joined: Sep 2012
Posts: 7
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Sep 2012
Posts: 7
Originally Posted By: Tomao
That is a type two ban. You may use
Code:
//ban # nickhere 2
replace "nickhere" with the actual chat nickname of his or hers.



Almost, but I want to use /b <nick> to trigger, not have to type all that in each time...

Last edited by SonicOrbStudios; 21/09/12 04:08 AM.
Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
Just replace the 3 in the script you were already given with a 2.

Joined: Dec 2010
Posts: 23
N
Ameglian cow
Offline
Ameglian cow
N
Joined: Dec 2010
Posts: 23
an example that will work is
/ban -ku60 #channelhere nickhere You have been ban for 1 minute
that is a ban for 1 minute
remember you have to kick the ban
or you can use wildcard like
/ban -ku60 # nickhere You have been ban for 1 minute
i can write you a complete ban script if ya like
for different times or permate ban
you can reach me on irc.star-fleet.net channel--> #tmd nick--> Ace i do all there script

Last edited by NufSaid; 05/10/12 01:40 PM.

Link Copied to Clipboard