mIRC Home    About    Download    Register    News    Help

Print Thread
#128090 20/08/05 08:10 PM
Joined: Aug 2005
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2005
Posts: 7
I have this What I want it to do is to ban and devoice at moment it is only baning the person

.language-Devoice:/say $$1 10 your language/ topic is unacceptable | mode $chan +b $$1 | mode $chan -v $$1

#128091 20/08/05 09:19 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
.language-Devoice:/say $$1 your language/ topic is unacceptable | ban $chan $$1 8 | mode $chan -v $$1


Works fine for me.

[15:19] <SladeKraven> sds your language/ topic is unacceptable
[15:19] * SladeKraven sets mode: +b sds!*java@*.cg.shawcable.net
[15:19] * SladeKraven sets mode: -v sds

-Andy

#128092 20/08/05 10:33 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
It would make more sense to me to devoice, then ban, rather than the other way around.

#128093 20/08/05 10:40 PM
Joined: Sep 2004
Posts: 200
I
Fjord artisan
Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
It dosent realy matter since its a voice, if its an op or halfop, you dehalfop/op then ban, it keeps them from unbanning :P :tongue:

#128094 20/08/05 11:22 PM
Joined: Aug 2005
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2005
Posts: 7
I wondered how I can set it to do it this way like
your language/ topic is unacceptable sets mode: +b-v *!*@202.152.22.242

#128095 21/08/05 12:28 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Not if you want to use the person's address.
If the nick will suffice then
Code:
 /mode &lt;channel&gt; +b-v &lt;nick&gt; &lt;nick&gt;  
should work (I'm not sure if you need a space between the +b & -v or not)
Unable to test at present.

#128096 21/08/05 07:48 AM
Joined: Sep 2004
Posts: 200
I
Fjord artisan
Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
it wont work with a space, then the server things you are trying to voice/ban -v or +b grin

#128097 21/08/05 08:57 AM
Joined: Aug 2005
Posts: 7
A
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Aug 2005
Posts: 7
I got it work but how can I ban by IP address instead of the nick

#128098 21/08/05 05:40 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
You wouldn't be able to combine the two into one command

If you want to do it using address, this is the best I can think of.
Code:
/mode &lt;channel&gt; -v &lt;nick&gt;
.ban -k &lt;channel&gt; &lt;nick&gt; &lt;mask&gt;
  

See /help /mode
/help /ban
/help $mask


Link Copied to Clipboard