mIRC Home    About    Download    Register    News    Help

Print Thread
#69662 30/01/04 01:48 AM
Joined: Jan 2004
Posts: 6
S
scasey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2004
Posts: 6
Hello,

I'm wondering if anyone has a script that bans a person who joins a channel then immediately parts the channel and is able to give a reason. I'm not looking for a temporary ban, im looking for one that permanetly bans them and gives a reason that is visible on the ban list.

on *:JOIN:#drift:{
set -u7 %join. [ $+ [ $nick ] ] 1
}

on *:PART:#drift:{
if (%join. [ $+ [ $nick ] ] == 1) {
ban -u86400 $chan $nick Join/Part = Ban.
msg $chan $nick 9was banned because of 4Join/12Part. (14Ban Time: 15 1 Day)
}

that is what i have... but it only bans for one day and doesnt add them to the banlist. i want somethign that !addbans them (gamesnet) and gives a reason

#69663 30/01/04 02:10 AM
Joined: Dec 2003
Posts: 261
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 261
Hi, there. Use /mode $chan +b $address($nick,2) for permanent ban.
For the second problem:
/auser 10 $nick
and then use "on +10:join:" to deal with those users (on your ban list).
Hope this helped a bit.


velicha dusha moja Gospoda
#69664 30/01/04 02:11 AM
Joined: Jan 2004
Posts: 6
S
scasey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2004
Posts: 6
Where do i put it?? I'm a complete newb. Sorry

#69665 30/01/04 02:20 AM
Joined: Dec 2003
Posts: 261
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 261
Ok, well. Don't use this "ban -u86400 $chan $nick", use this "mode $chan +b $address($nick,2)".


velicha dusha moja Gospoda
#69666 30/01/04 02:24 AM
Joined: Jan 2004
Posts: 6
S
scasey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2004
Posts: 6
on *:JOIN:#drift:{
set -u7 %join. [ $+ [ $nick ] ] 1
}

on *:PART:#drift:{
if (%join. [ $+ [ $nick ] ] == 1) {
mode $chan +b $address($nick,2
}

that didnt work... nothing happened

#69667 30/01/04 02:28 AM
Joined: Dec 2003
Posts: 261
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 261
BTW, what kind of banlist you want? Some kind of public banlist, or for your eyes only?
This /mode $chan +b $address($nick,2) works fine.


velicha dusha moja Gospoda
#69668 30/01/04 02:32 AM
Joined: Jan 2004
Posts: 6
S
scasey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2004
Posts: 6
I dont know... my channel is on GamesNET... when u want to permanently ban someone u either !kb them to kick/ban them or you !addban after they leave to permanently ban them

you can see ur banlist by typing !blist or !shitlist

#69669 30/01/04 02:39 AM
Joined: Dec 2003
Posts: 261
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 261
I am not using GamesNET... so I cann't tell anything about that, but if you want to make your personal banlist, use this:

/set %banreason. $+ $nick Reason for ban

and you have your Reason List.


velicha dusha moja Gospoda
#69670 30/01/04 02:43 AM
Joined: Jan 2004
Posts: 6
S
scasey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2004
Posts: 6
Hmm...

On GamesNET all you do is

!addban user blah blah blah

blah blah blah is the reason

or you can

/msg chanserv #channel addban user blah blha blah

but im not talking about a peronsal banlist... im talking about the channels banlist

#69671 30/01/04 03:16 AM
Joined: Dec 2003
Posts: 199
K
Vogon poet
Offline
Vogon poet
K
Joined: Dec 2003
Posts: 199
on *:JOIN:#drift:{
set -u7 %join. [ $+ [ $nick ] ] 1
}

on *:PART:#drift:{
if (%join. [ $+ [ $nick ] ] == 1) {
msg chanserv $chanl addban $address($nick,3) ::INPUT REASON::
}
I think... is what you meant, If I misunderstood, sorry. smile


Want to Link Servers? PM Me
- EliteIRC.dyndns.org -
#69672 30/01/04 03:19 AM
Joined: Jan 2004
Posts: 6
S
scasey Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Jan 2004
Posts: 6
sweet... it worked... thanks


Link Copied to Clipboard