mIRC Home    About    Download    Register    News    Help

Print Thread
Ban Lock Down #140006 21/01/06 02:17 AM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
Code:
#banlock on
on *:ban:*: { 
  if ($nick == $me) { return }
  if ($me isop) { mode -b $banmask }
  kick $chan $nick Did I give you permission to Ban Users? 
  splay $mircdirsounds\fatality.mp3 
}

#banlock end


Result: * /if: invalid format (line 378, vtec.mrc), line is 378 if ($me isop) { mode -b $banmask }

whats missing? I would like it to clear the ban if possible

Cheers

Last edited by Skeletor; 21/01/06 02:19 AM.

sub-zero.homeip.net:6667

Re: Ban Lock Down #140007 21/01/06 02:27 AM
Joined: Oct 2004
Posts: 72
C
captain_comic Offline
Babel fish
Offline
Babel fish
C
Joined: Oct 2004
Posts: 72
if ($me isop $chan) { mode -b $banmask }

Re: Ban Lock Down #140008 21/01/06 02:40 AM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
Error : no such nick : [ -b ]


sub-zero.homeip.net:6667

Re: Ban Lock Down #140009 21/01/06 02:50 AM
Joined: Feb 2005
Posts: 185
S
Skeletor Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Feb 2005
Posts: 185
if ($me isop $chan) { mode # -b $banmask }


sub-zero.homeip.net:6667