mIRC Home    About    Download    Register    News    Help

Print Thread
#48842 11/09/03 11:02 PM
Joined: Sep 2003
Posts: 1
E
Mostly harmless
OP Offline
Mostly harmless
E
Joined: Sep 2003
Posts: 1
Greetings.

Please share your knowledge and show me an alias to ban kick. The point is that there should be a prompt for the kick-reason but if you utilise the alias using the following format:
//bk /mode $chan +b $1 | /kick $chan $1 $$?="Reason:"
if you regret ban/kicking the victim, whether you press Esc to cancel the reason input the victim gets banned and besides the actions are not perfommed in a batch commands fashion.


#48843 12/09/03 02:08 AM
Joined: Sep 2003
Posts: 23
N
Ameglian cow
Offline
Ameglian cow
N
Joined: Sep 2003
Posts: 23
I'm pretty new to this, but couldn't you simply switch it around? so it would read:

//bk /kick $chan $1 $$?="Reason:" | /mode $chan +b $1

Then if you decided you didn't want to kick him the ban wouldn't be in place? And if you're an op anyway I don't see the big deal if you do ban the person and don't kick them, you can take the ban off just as easily?

Hope that helped...(also, this is a weak ban, aka easily avoidable to ban by nick)

#48844 12/09/03 11:08 AM
Joined: Sep 2003
Posts: 93
T
Babel fish
Offline
Babel fish
T
Joined: Sep 2003
Posts: 93
With the new mirc 6.1 try this...

/bk /ban -k $chan $$1 $$?="Reason:"

What this will do is kick the person out of the channel with the reason you specify however if you cancel it shouldn't do anything.

For my own person use for an alias I use:
/kb /ban -ku60 $1 2 $2-

What the above will do is kick the user (address type 2) for a time of 60 seconds... the $2- is the reason you specify.

Hope this helps! laugh


#48845 12/09/03 12:05 PM
Joined: Dec 2002
Posts: 397
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
here -_-
Code:
alias kb {
  var %kb = $? = "Enter Nick and Reason:"
  .ban # %kb
  .k %kb
}

Add this to your remotes not alias'!

simple enough should hopefully it will work for you


Need amazing web design for low price: http://www.matrixn3t.net
#48846 14/09/03 03:20 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Quote:

I'm pretty new to this, but couldn't you simply switch it around? so it would read:

//bk /kick $chan $1 $$?="Reason:" | /mode $chan +b $1


You'd be better off doing so anyways. Most people out there have that ban, er not protections because someone will be picky about it, but anti-ban script. If you do ban, then kick... chances are they will have had the ban removed before you kick them, and maybe even kick you first.


-KingTomato
#48847 25/04/04 04:07 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
When i heard about the -k switch on /ban i said 'hey thats a nice one!' but it doesnt seem to work smirk

I asked a couple of friends to try it and they couldn't get it working either..

We were all using v6.14.. Any ideas why it doesnt work?

Thanks, Zyzzy. smile


"All we are saying is give peace a chance" -- John Lennon
#48848 25/04/04 04:18 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
What command are you typing?

/ban -k nick gave this result:
[17:17:09] * Collective sets mode: +b nick!*ident@255.255.255.255
[17:17:09] * nick was kicked by Collective (Collective)

/ban alias, perhaps?

#48849 25/04/04 04:27 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Whoa, i guess you are right! smile

I use PnP and i has a /ban alias, so i removed it and i got the -k to work smile

Thanks, Zyzzy laugh


"All we are saying is give peace a chance" -- John Lennon

Link Copied to Clipboard