|
When Banned Rejoin & Del Banmask
#22743
06/05/03 03:12 PM
|
Joined: Apr 2003
Posts: 23
Haze
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2003
Posts: 23 |
can anyone correct this, it works but once a deny is placed on me, i rejoin remove the ban then disconnect  thx #onban on on @*:BAN:#:{ if ($nick == $me) { return } if ($banmask iswm $address($me,5)) { mode $chan -B $Banmask chanserv unban $chan $me .echo $colour(info) -a *** You were banned By $nick on $chan $banmask } } #onban end
|
|
|
Re: When Banned Rejoin & Del Banmask
#22744
06/05/03 03:30 PM
|
Joined: Feb 2003
Posts: 79
Ancyker
Babel fish
|
Babel fish
Joined: Feb 2003
Posts: 79 |
if ($nick == $me) { return }
what are u returning, do u mean halt?
|
|
|
Re: When Banned Rejoin & Del Banmask
#22745
06/05/03 03:31 PM
|
Joined: Dec 2002
Posts: 3,138
Collective
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
|
|
|
Re: When Banned Rejoin & Del Banmask
#22746
06/05/03 03:42 PM
|
Joined: Jan 2003
Posts: 3,012
KingTomato
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
Yes, return has the same effect with no parameters. Also, if your going to have a condition (though you won't notice speed) it might be easier to have the condition to catere to you.
Also, I saw you have a capital 'B' for the banmask move. In almost all cases, this is lowrcase, and most IRC servers are case-sensative.
#onban on on @*:BAN:#:{ if ($nick != $me) { if ($banmask iswm $address($me,5)) { mode $chan -b $banmask chanserv unban $chan $me echo $colour(info) -a *** You were banned By $nick on $chan $banmask } } } #onban end
-KingTomato
|
|
|
Re: When Banned Rejoin & Del Banmask
#22747
06/05/03 03:58 PM
|
Joined: Apr 2003
Posts: 23
Haze
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2003
Posts: 23 |
Thx Guys Works perfect Now Thx Alot, Its Appreciated
|
|
|
Re: When Banned Rejoin & Del Banmask
#22748
06/05/03 04:08 PM
|
Joined: Dec 2002
Posts: 774
theRat
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 774 |
on !@*:BAN:#:{ if ($banmask iswm $address($me,5)) { mode $chan -b $banmask chanserv unban $chan $me echo $colour(info) -a *** You were banned By $nick on $chan $banmask } }
//if ( khaled isgod ) echo yes | else echo no
|
|
|
Re: When Banned Rejoin & Del Banmask
#22749
06/05/03 08:12 PM
|
Joined: Dec 2002
Posts: 2,985
Watchdog
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
Just incase someone decides to be a silly bugger and reapply the ban the second your script unsets it you also should have the /cs invite #Channel or /msg ChanServ invite #Channel commands available. That, along with /join #Channel will get you back in banned or not.
Remember that either way is just a backup measure. If you are being kicked for the fun of it then you might want to speak to your SOPs or Founder about it.
|
|
|
Re: When Banned Rejoin & Del Banmask
#22750
06/05/03 08:58 PM
|
Joined: Apr 2003
Posts: 23
Haze
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2003
Posts: 23 |
but when script rejoins after ban it deowner's the user who banned it, so he cant reapply the ban, thx for your input thought.thx ppl, its workin nicely now
|
|
|
Re: When Banned Rejoin & Del Banmask
#22751
06/05/03 09:00 PM
|
Joined: Dec 2002
Posts: 2,985
Watchdog
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,985 |
Yes but if he has deop protection and a shitlist the story might be different.
|
|
|
Re: When Banned Rejoin & Del Banmask
#22752
08/05/03 12:22 PM
|
Joined: Apr 2003
Posts: 23
Haze
OP
Ameglian cow
|
OP
Ameglian cow
Joined: Apr 2003
Posts: 23 |
#onban on on @*:BAN:#:{ if ($nick != $me) { if ($banmask iswm $address($me,5)) { mode $chan -b $banmask chanserv unban $chan $me echo $colour(info) -a *** You were banned By $nick on $chan $banmask } } } #onban end can sum1 add the code, so it halts if a certain gatekeeper bans me, plz
|
|
|
|
|
|