This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
-
EEggy
- Op
- Posts: 122
- Joined: Thu Sep 26, 2002 11:46 pm
Post
by EEggy »
hi this works for *!*ident@ip...
how do i change this so it should ban in this format *!*@ip
proc doban {nick channel} {
set bhost [maskhost [getchanhost $nick $channel]]
set hostban "*!*"
append hostban [string range $bhost 2 end]
return $hostban
}
thank you
EEggy
-
Papillon
- Owner
- Posts: 724
- Joined: Fri Feb 15, 2002 8:00 pm
- Location: *.no
Post
by Papillon »
Code: Select all
append hostban [lindex [split $bhost @] 1]
Elen sila lúmenn' omentielvo
-
EEggy
- Op
- Posts: 122
- Joined: Thu Sep 26, 2002 11:46 pm
Post
by EEggy »
thank you so much, i've tried this, but now it just kick, no ban, but when i check .bans all
i see this
! [ 1] *!**.aol.com@* (expires at 04:22)
EEggy
-
Papillon
- Owner
- Posts: 724
- Joined: Fri Feb 15, 2002 8:00 pm
- Location: *.no
Post
by Papillon »
Code: Select all
set hostban "*!*@[lindex [split $bhost @] 1]"
Elen sila lúmenn' omentielvo
-
EEggy
- Op
- Posts: 122
- Joined: Thu Sep 26, 2002 11:46 pm
Post
by EEggy »
Hi thanks again, but now it does the site ban like
*!*@*.aol.com
EEggy
-
strikelight
- Owner
- Posts: 708
- Joined: Mon Oct 07, 2002 10:39 am
-
Contact:
Post
by strikelight »
EEggy wrote:Hi thanks again, but now it does the site ban like
*!*@*.aol.com
Code: Select all
set hostban "*!*@[lindex [split [getchanhost $nick $channel] @] 1]"