Brag Spam

By craighton on Oct 17, 2009

when you enter "/bragspam" into you mIRC consol it will calculate how many channels you are on and it will figure out what your status is in each channel and will report the totals in the channel. Really good script

;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
;@@@ Brag Spam Script                        @@@
;@@@ By Craighton                            @@@
;@@@ http://blog.logiclounge.net             @@@
;@@@ If you need help join                   @@@
;@@@ Server: irc.logiclounge.org             @@@
;@@@ Channel: #scripts                       @@@
;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

alias bragspam {
  /say I'm on $rchans channels, across $rnets networks. I have %olinecount olines, $rowners owners, $radmins admins, $rops ops, $rhops halfops, and $rvoice voices. I have abusive power over $rpower people.
}
alias rchans {
  set %total 0
  set %counter 1 
  while (%counter <= $scon(0)) { 
    /scon %counter
    /set %chans $chan(0)
    set %total $calc(%total + %chans)
    inc %counter
  }
  return %total
}
alias rops {
  set %ops 0
  set %counter 1 
  while (%counter <= $scon(0)) { 
    /scon %counter
    set %scounter 1
    while (%scounter <= $chan(0)) {
      if ($me isop $chan(%scounter)) inc %ops
      inc %scounter
    }
    inc %counter
  }
  return %ops
}
alias rpower {
  set %peeps 0
  set %counter 1 
  while (%counter <= $scon(0)) { 
    /scon %counter
    set %scounter 1
    while (%scounter <= $chan(0)) {
      if ($me isop $chan(%scounter)) set %peeps $calc(%peeps + $nick($chan(%scounter),0) - 1)
      if ($me ishop $chan(%scounter)) set %peeps $calc(%peeps + $nick($chan(%scounter),0) - 1)
      inc %scounter
    }
    inc %counter
  }
  return %peeps
}
alias rowners {
  set %owners 0
  set %counter 1 
  while (%counter <= $scon(0)) { 
    /scon %counter
    set %scounter 1
    while (%scounter <= $chan(0)) {
      if ($nick($chan(%scounter),$me,q)) inc %owners
      inc %scounter
    }
    inc %counter
  }
  return %owners
}
alias radmins {
  set %admins 0
  set %counter 1 
  while (%counter <= $scon(0)) { 
    scon %counter
    set %scounter 1
    while (%scounter <= $chan(0)) {
      if ($nick($chan(%scounter),$me,a) == 1) { inc %admins 1 }
      inc %scounter
    }
    inc %counter
  }
  return %admins
}
alias rhops {
  set %hops 0
  set %counter 1 
  while (%counter <= $scon(0)) { 
    /scon %counter
    set %scounter 1
    while (%scounter <= $chan(0)) {
      if ($me ishop $chan(%scounter)) inc %hops
      inc %scounter
    }
    inc %counter
  }
  return %hops
}
alias rvoice {
  set %voice 0
  set %counter 1 
  while (%counter <= $scon(0)) { 
    /scon %counter
    set %scounter 1
    while (%scounter <= $chan(0)) {
      if ($me isvoice $chan(%scounter)) inc %voice
      inc %scounter
    }
    inc %counter
  }
  return %voice
}
alias rnets {
  return $scon(0)
}
raw 381:*:{
  set %curbragwork ¬ $+ $network $+ ¬
  if (%curbragwork !isin %countednets) {
    set %countednets %countednets $+ %curbragwork
    inc %olinecount
  }
}
on *:start: { unset %countednets | set %olinecount 0 }

Comments

Sign in to comment.
dma   -  Mar 21, 2016

the best one on hawkee!

 Respond  
TMFKSOFT   -  Dec 09, 2010

:) TY Craighton i havent even tested it but its the only script i found xD

 Respond  
GrimReaper   -  Nov 19, 2009

in place of "olines," you could put

$iif(%olinecount == 1,oline,olines) $+ ,

Then it will update from olines to oline if you have one oline and not 2.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.