Top

ban all channels


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Jul 12, 2007
Last Updated  Jul 12, 2007
Tags  all  ban  channels  nick 
  Bookmark and Share

Introduction

To use, just type /banac <nickname> <message> the message is optional. It bans the user from the room, and if the user is in any other room that you have op in it will ban him and kick him with the message if you put one.

Grab the Code

Comments

  (4)  RSS
xDaeMoN
Comments: 696
 
mIRC Snippet:  ban all channels
Posted on Jul 12, 2007 2:32 am
You can use "/ban -k ..." instead of using 2 commands for the ban-kick ;)
Lindrian
Comments: 755
 
mIRC Snippet:  ban all channels
Posted on Jul 12, 2007 4:26 am
use $comchan() instead of $chan(), as $chan() will return the channel name, if the channel window is active or not. AKA "Keep channel windows open",
Lindrian
Comments: 755
 
mIRC Snippet:  ban all channels
Posted on Jul 12, 2007 4:32 am
Here is a code that i made aswell, http://www.hawkee.com/snippet/2803/, doing the same thing as yours, but on all networks. A little more flexiblity on it, as you can ban several persons, you might learn something from it hehe :p.

And can't you just do if ($status == disconnected) { ?
X1qu10n3r
Comments: 22
 
mIRC Snippet:  ban all channels
Posted on Jul 12, 2007 3:38 pm
I just started scripting again after four months of stopping. So yea..

Please Register or Login to start posting comments.
Bottom