Ban on Unban

Release your script here.
State:
- Author
- What it does
- Perhaps a little guide.
- Also, if the snippet is of any use to the community, it has a chance of getting posted on the main page, so don't hesitate to submit/ask!

Ban on Unban

Postby Cristian » Mon Dec 03, 2007 4:37 pm

Tested and works on version 6.15

Code: Select all
;         [16:58:47] (Mode) *** Sumsar sets mode: -bbbbbb izkqe*!*@*.dk zmnhz*!*@*.dk vvukm*!*@*.dk ijzov*!*@*.dk qjhjz*!*@*.dk ybgcm*!*@*.dk
;         [16:58:47] (Mode) *** Sumsar sets mode: -bbbbbb pquwm*!*@*.dk kyvmx*!*@*.dk ceryu*!*@*.dk lhoot*!*@*.dk tmgsf*!*@*.dk qfoyl*!*@*.dk
;         [16:58:47] (Mode) *** Sumsar sets mode: -bbbbbb gwypg*!*@*.dk tzznx*!*@*.dk ulsbt*!*@*.dk jvwtz*!*@*.dk runlt*!*@*.dk oyxqd*!*@*.dk
;         [16:58:47] (Mode) *** Sumsar sets mode: -bbbbb hribw*!*@*.dk yxmpq*!*@*.dk xokrv*!*@*.dk nspll*!*@*.dk cdbho*!*@*.dk
;         [16:58:49] (Mode) *** bot4 sets mode: +bbbbbb ybgcm*!*@*.dk qjhjz*!*@*.dk ijzov*!*@*.dk vvukm*!*@*.dk zmnhz*!*@*.dk izkqe*!*@*.dk
;         [16:58:49] (Mode) *** bot4 sets mode: +bbbbbb qfoyl*!*@*.dk tmgsf*!*@*.dk lhoot*!*@*.dk ceryu*!*@*.dk kyvmx*!*@*.dk pquwm*!*@*.dk
;         [16:58:50] (Mode) *** bot4 sets mode: +bbbbbb oyxqd*!*@*.dk runlt*!*@*.dk jvwtz*!*@*.dk ulsbt*!*@*.dk tzznx*!*@*.dk gwypg*!*@*.dk
;         [16:58:50] (Mode) *** bot4 sets mode: +bbbbb cdbho*!*@*.dk nspll*!*@*.dk xokrv*!*@*.dk yxmpq*!*@*.dk hribw*!*@*.dk



on !*:RAWMODE:#: {
  if ($me isop $chan) {
    if ($left($1,1) == $chr(45)) {
      .mode $chan $+($replacex($left($1,1),-,+),$str(b,$numtok($_b($1,$1-),32))) $_b($1,$1-)
    }
  }
}
alias -l _b {
  var %x = $len($1)
  while (%x) {
    if ($mid($1,%x,1) == b) {
      var %b = $addtok(%b,$gettok($2-,%x,32),32)
    }
    dec %x
  }
  return %b
}
Cristian
proof of advance
proof of advance
 
Posts: 282
Joined: Sun Nov 04, 2007 3:02 pm
Location: Denmark
Authnick: Sumsar

Return to Mirc Scripting Release

Who is online

Users browsing this forum: No registered users and 1 guest

cron