Default ban type

Known Issues, Bugs Reports, and Work Arounds

Moderators: L|B, cryoa, Riamus, XMog

Default ban type

Postby Apexi » Thu Mar 25, 2010 12:40 pm

Hi again. More problems i cant solve by myself.
Don't know how or why but i cant change default ban type.
I have choose (5: nick!user@host) at the "Default ban typ selection" but when i ban someone it ban the whole domain, in result everyone gets banned behind the same domain :?
Apexi
Member
Member
 
Posts: 29
Joined: Fri Jul 31, 2009 12:44 pm

Re: Default ban type

Postby Riamus » Thu Mar 25, 2010 2:14 pm

Default ban type is used for automatic bans such as the Kicks and Bans section of Channel Ops in Main Settings. It does not affect manually banning people. That may end up being added for right click banning in the next version as it's been mentioned before.
You can find me at #Invision on irc.irchighway.net or #OldGames on irc.undernet.org if you need me for anything.
User avatar
Riamus
Global Moderator
Global Moderator
 
Posts: 1783
Joined: Fri May 03, 2002 9:01 pm
Location: Massachusetts, USA

Re: Default ban type

Postby Apexi » Fri Mar 26, 2010 4:06 am

Thanks for a fast answer.
Is it possible to adjust the ban type through the script editor? It's very important for me when the channel is full with members.
I guess it's this line i should edit, but were and how?
kb { if (($me ison $1) && ($2 != $null)) || (($me ison $active) && ($1 != $null)) { if ($address($iif($me ison $1,$2,$1),5) == $null) { mode $iif($me ison $1,$1,$active) -o+b $iif($me ison $1,$2,$1) $iif($me ison $1,$2,$1) $+ !*@* | kick $iif($me ison $1,$1,$active) $iif($me ison $1,$2-,$1-) } | else { mode $iif($me ison $1,$1,$active) -o+b $iif($me ison $1,$2,$1) $address($iif($me ison $1,$2,$1),2) | kick $iif($me ison $1,$1,$active) $iif($me ison $1,$2-,$1-) } } | else { error Usage: /kb [#channel] <nick> [message] } }
Apexi
Member
Member
 
Posts: 29
Joined: Fri Jul 31, 2009 12:44 pm

Re: Default ban type

Postby Riamus » Fri Mar 26, 2010 8:11 am

$address($iif($me ison $1,$2,$1),2)

Change 2 to the mask number you want. /help $mask for a listing.
You can find me at #Invision on irc.irchighway.net or #OldGames on irc.undernet.org if you need me for anything.
User avatar
Riamus
Global Moderator
Global Moderator
 
Posts: 1783
Joined: Fri May 03, 2002 9:01 pm
Location: Massachusetts, USA

Re: Default ban type

Postby Apexi » Fri Mar 26, 2010 1:26 pm

Thanks mate.
Apexi
Member
Member
 
Posts: 29
Joined: Fri Jul 31, 2009 12:44 pm


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 18 guests

cron